Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009263, allocations: 103.1 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.552e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2549, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.261, allocations: 150.6 MB / 1.366 GB, free: 3.398 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.261, allocations: 72.89 kB / 1.366 GB, free: 3.359 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01005/1.271, allocations: 3.589 MB / 1.37 GB, free: 300 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.064e-06/1.271, allocations: 0 / 1.37 GB, free: 300 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.271, allocations: 4 kB / 1.37 GB, free: 296 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007029/1.272, allocations: 453.3 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.272, allocations: 8.219 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/1.272, allocations: 56.72 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/1.272, allocations: 31.77 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/1.273, allocations: 226.2 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/1.273, allocations: 7.281 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/1.273, allocations: 18.75 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/1.273, allocations: 127.3 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.273, allocations: 0 / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/1.273, allocations: 3.375 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.273, allocations: 11.95 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/1.273, allocations: 80.58 kB / 1.371 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/1.274, allocations: 0.5433 MB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/1.275, allocations: 128.3 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/1.275, allocations: 70.48 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/1.275, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/1.275, allocations: 114.7 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/1.275, allocations: 4 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003107/1.275, allocations: 146.6 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.275, allocations: 51.41 kB / 1.372 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.276, allocations: 148.4 kB / 1.372 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/1.276, allocations: 33.33 kB / 1.372 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/1.276, allocations: 115.2 kB / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/1.276, allocations: 66.41 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/1.276, allocations: 3.75 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.276, allocations: 330.7 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/1.276, allocations: 49.06 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/1.276, allocations: 80.92 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.722e-05/1.276, allocations: 55.78 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.276, allocations: 0 / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002696/1.277, allocations: 185.4 kB / 1.373 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.277, allocations: 4 kB / 1.373 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.277, allocations: 4.062 kB / 1.373 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.277, allocations: 0 / 1.373 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/1.277, allocations: 47.91 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.277, allocations: 3.953 kB / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/1.277, allocations: 33.95 kB / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.277, allocations: 7.984 kB / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.277, allocations: 120 kB / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/1.277, allocations: 11.81 kB / 1.373 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/1.278, allocations: 161.8 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.278, allocations: 0 / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.278, allocations: 0 / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.278, allocations: 7.984 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/1.278, allocations: 0.5594 MB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.278, allocations: 4 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/1.279, allocations: 36.11 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.279, allocations: 8 kB / 1.374 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/1.279, allocations: 11.08 kB / 1.374 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/1.279, allocations: 3.984 kB / 1.374 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.279, allocations: 4 kB / 1.374 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/1.279, allocations: 413.5 kB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.279, allocations: 85.02 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/1.279, allocations: 15.88 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/1.28, allocations: 23.97 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/1.28, allocations: 31.8 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/1.28, allocations: 8 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001129/1.28, allocations: 125.4 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.28, allocations: 7.938 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002827/1.28, allocations: 39.53 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/1.281, allocations: 1.356 MB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003063/1.282, allocations: 139.9 kB / 1.376 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.282, allocations: 0 / 1.376 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.282, allocations: 72.42 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/1.282, allocations: 18.38 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/1.283, allocations: 328.5 kB / 1.376 GB, free: 9.859 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/1.283, allocations: 0.7321 MB / 1.377 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.557e-05/1.283, allocations: 13.2 kB / 1.377 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/1.283, allocations: 47.42 kB / 1.377 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.283, allocations: 0 / 1.377 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/1.298, allocations: 3.126 MB / 1.38 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.299, allocations: 171.3 kB / 1.38 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/3.151, allocations: 0 / 1.38 GB, free: 5.867 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat