Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 63.91 kB / 1.059 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 160.7 MB / 1.216 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001811/0.2633, allocations: 0.7622 MB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2648, allocations: 1.168 MB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.2648, allocations: 0 / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.2648, allocations: 7.938 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.2649, allocations: 7.875 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2654, allocations: 139.4 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.2655, allocations: 119.7 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.422e-05/0.2656, allocations: 11.98 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.2657, allocations: 43.91 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.2658, allocations: 43.88 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2658, allocations: 12 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.2659, allocations: 27.92 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.2659, allocations: 15.92 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.266, allocations: 43.84 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.2661, allocations: 112 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2661, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2661, allocations: 3.938 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2662, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005666/0.2667, allocations: 411.1 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2668, allocations: 12.03 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.2668, allocations: 38.73 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.2668, allocations: 8.891 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2669, allocations: 172.3 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.267, allocations: 8.375 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.267, allocations: 16.31 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2672, allocations: 58.22 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2672, allocations: 3.938 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2672, allocations: 4 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2672, allocations: 4 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.2674, allocations: 35.95 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.2678, allocations: 344.6 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.268, allocations: 54.61 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2681, allocations: 28.97 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2681, allocations: 7.984 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.2683, allocations: 87.36 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.2683, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004216/0.2687, allocations: 137.5 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2688, allocations: 59.41 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.2689, allocations: 121.8 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2689, allocations: 29.7 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.269, allocations: 92.2 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.269, allocations: 27.78 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.2691, allocations: 33.7 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2692, allocations: 326.8 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2694, allocations: 51.91 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2695, allocations: 88.69 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.2698, allocations: 141.8 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.2698, allocations: 4 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004438/0.2703, allocations: 203.2 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.2703, allocations: 41.69 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2703, allocations: 4 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2703, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.2704, allocations: 20.05 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2704, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.2706, allocations: 35.89 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2706, allocations: 4 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.2707, allocations: 125.8 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.2708, allocations: 7.953 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.2708, allocations: 16.36 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2708, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2708, allocations: 4 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2708, allocations: 64 / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.2713, allocations: 374.4 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2713, allocations: 0 / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.2713, allocations: 7.984 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2713, allocations: 4 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2713, allocations: 4 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2713, allocations: 0 / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2713, allocations: 8.312 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.2716, allocations: 219.4 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.2717, allocations: 85.06 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2717, allocations: 0 / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.2718, allocations: 11.98 kB / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.2718, allocations: 11.94 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2718, allocations: 4 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.2719, allocations: 99.25 kB / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2719, allocations: 0 / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000246/0.2721, allocations: 27.94 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006784/0.2728, allocations: 0.7475 MB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.2732, allocations: 159.3 kB / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2732, allocations: 0 / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2733, allocations: 44.14 kB / 1.222 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2736, allocations: 17.97 kB / 1.223 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.2756, allocations: 1.688 MB / 1.224 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.2759, allocations: 0.6846 MB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.276, allocations: 11.98 kB / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.276, allocations: 19.44 kB / 1.225 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.276, allocations: 0 / 1.225 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2995, allocations: 2.545 MB / 1.227 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.318, allocations: 11.62 kB / 1.227 GB, free: 3.332 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable change.u in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.u from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable change.y in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.y from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.605487021995941]