Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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) 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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.671/2.671, allocations: 409.4 MB / 0.684 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8203, allocations: 146.8 MB / 0.9811 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001378/0.8218, allocations: 479.2 kB / 0.9816 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.8235, allocations: 1.121 MB / 0.9827 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.8236, allocations: 0 / 0.9827 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.8236, allocations: 8 kB / 0.9827 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/0.8237, allocations: 11.92 kB / 0.9827 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.8243, allocations: 113.4 kB / 0.9828 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.8245, allocations: 95.75 kB / 0.9829 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.8246, allocations: 11.98 kB / 0.9829 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.8247, allocations: 47.77 kB / 0.983 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.8248, allocations: 39.89 kB / 0.983 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.8249, allocations: 4 kB / 0.983 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.825, allocations: 19.98 kB / 0.983 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.825, allocations: 11.94 kB / 0.983 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.8251, allocations: 33.7 kB / 0.9831 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.8252, allocations: 75.81 kB / 0.9831 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.8252, allocations: 0 / 0.9831 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8252, allocations: 0 / 0.9831 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.8252, allocations: 0 / 0.9831 GB, free: 4.277 MB / 0.7325 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.0007022/0.8259, allocations: 403.1 kB / 0.9835 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.826, allocations: 12.03 kB / 0.9835 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.8261, allocations: 34.56 kB / 0.9836 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.8261, allocations: 11.89 kB / 0.9836 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.8263, allocations: 175 kB / 0.9837 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.8263, allocations: 4 kB / 0.9838 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.8264, allocations: 11.98 kB / 0.9838 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.8266, allocations: 81.58 kB / 0.9838 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8266, allocations: 0 / 0.9838 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.8266, allocations: 4 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8266, allocations: 0 / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.8268, allocations: 51.95 kB / 0.9839 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.8273, allocations: 336.6 kB / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.8275, allocations: 62.58 kB / 0.9843 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.8276, allocations: 40.95 kB / 0.9843 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.8276, allocations: 0 / 0.9843 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.8279, allocations: 99.3 kB / 0.9844 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.8279, allocations: 0 / 0.9844 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004149/0.8283, allocations: 153.6 kB / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8284, allocations: 55.41 kB / 0.9846 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.8285, allocations: 125.8 kB / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.8285, allocations: 29.7 kB / 0.9848 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.8286, allocations: 88.14 kB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.8286, allocations: 23.73 kB / 0.9849 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.8286, allocations: 4 kB / 0.9849 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8287, allocations: 314.8 kB / 0.9852 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.8289, allocations: 59.95 kB / 0.9852 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.8291, allocations: 92.64 kB / 0.9853 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.8292, allocations: 93.67 kB / 0.9854 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8292, allocations: 0 / 0.9854 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004121/0.8297, allocations: 223.1 kB / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.8297, allocations: 37.7 kB / 0.9857 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8297, allocations: 7.938 kB / 0.9857 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8297, allocations: 0 / 0.9857 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.8298, allocations: 15.98 kB / 0.9857 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8299, allocations: 0 / 0.9857 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.8301, allocations: 51.89 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.8301, allocations: 12 kB / 0.9857 GB, free: 1.352 MB / 0.7325 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.8302, allocations: 123.2 kB / 0.9859 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.8303, allocations: 7.938 kB / 0.9859 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.8303, allocations: 16.38 kB / 0.9859 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8303, allocations: 0 / 0.9859 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8303, allocations: 0 / 0.9859 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8303, allocations: 0 / 0.9859 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.8309, allocations: 390.4 kB / 0.9862 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8309, allocations: 3.938 kB / 0.9863 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.8309, allocations: 11.98 kB / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8309, allocations: 0 / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.8309, allocations: 0 / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.831, allocations: 4 kB / 0.9863 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.831, allocations: 4.062 kB / 0.9863 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.8313, allocations: 227.3 kB / 0.9865 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.8314, allocations: 85.05 kB / 0.9866 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.8314, allocations: 0 / 0.9866 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.8315, allocations: 11.98 kB / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.8315, allocations: 15.98 kB / 0.9866 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.8315, allocations: 0 / 0.9866 GB, free: 376 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.8316, allocations: 95.31 kB / 0.9867 GB, free: 280 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8316, allocations: 3.938 kB / 0.9867 GB, free: 276 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002737/0.8319, allocations: 24 kB / 0.9867 GB, free: 252 kB / 0.7325 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 (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.0006483/0.8326, allocations: 0.7558 MB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.8329, allocations: 195.3 kB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.833, allocations: 0 / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.8331, allocations: 43.91 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.8334, allocations: 13.36 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.8345, allocations: 0.6866 MB / 0.9884 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.8348, allocations: 0.7004 MB / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.8349, allocations: 7.984 kB / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.8349, allocations: 15.44 kB / 0.9891 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.8349, allocations: 3.938 kB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.8474, allocations: 2.216 MB / 0.9912 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.8476, allocations: 189.4 kB / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.621, allocations: 0 / 0.9914 GB, free: 11.4 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat does not exist to compare? outputFormat=mat