Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.000884/0.0008842, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0008599/0.0008598, allocations: 168.7 kB / 15.95 MB, free: 204 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.422/1.422, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.533/2.533, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004463, allocations: 11.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8298, allocations: 146.8 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00102/0.8309, allocations: 479.3 kB / 0.9816 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.8323, allocations: 1.121 MB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.8323, allocations: 4 kB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.8324, allocations: 3.984 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.8324, allocations: 7.875 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.8329, allocations: 110.6 kB / 0.9828 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.833, allocations: 95.75 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.8331, allocations: 15.98 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.8332, allocations: 39.91 kB / 0.983 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.8333, allocations: 31.89 kB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.8333, allocations: 4 kB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.8334, allocations: 19.98 kB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.8334, allocations: 15.91 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.8335, allocations: 37.7 kB / 0.9831 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.8336, allocations: 67.84 kB / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8336, allocations: 0 / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8336, allocations: 4 kB / 0.9831 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8336, allocations: 4 kB / 0.9832 GB, free: 4.215 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.0005659/0.8342, allocations: 395.1 kB / 0.9835 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.8342, allocations: 12.03 kB / 0.9835 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.8343, allocations: 42.48 kB / 0.9836 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.8343, allocations: 15.91 kB / 0.9836 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.8345, allocations: 167 kB / 0.9838 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.8345, allocations: 8 kB / 0.9838 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.8345, allocations: 12 kB / 0.9838 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.8347, allocations: 65.61 kB / 0.9838 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.8347, allocations: 4 kB / 0.9838 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.8348, allocations: 4 kB / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8348, allocations: 0 / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.835, allocations: 55.89 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.8356, allocations: 332.6 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.8358, allocations: 70.56 kB / 0.9843 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.8359, allocations: 32.97 kB / 0.9843 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.836, allocations: 7.938 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.8362, allocations: 99.42 kB / 0.9844 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.8363, allocations: 0 / 0.9844 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004651/0.8367, allocations: 157.5 kB / 0.9846 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.8368, allocations: 51.41 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.8369, allocations: 117.8 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.8369, allocations: 29.64 kB / 0.9848 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.837, allocations: 92.12 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.837, allocations: 23.73 kB / 0.9849 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.8371, allocations: 12 kB / 0.9849 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8372, allocations: 314.8 kB / 0.9852 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.8374, allocations: 55.97 kB / 0.9852 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.8375, allocations: 92.25 kB / 0.9853 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.8377, allocations: 85.67 kB / 0.9854 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8377, allocations: 0 / 0.9854 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004338/0.8382, allocations: 227 kB / 0.9856 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.8382, allocations: 35.05 kB / 0.9857 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8382, allocations: 4 kB / 0.9857 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8382, allocations: 3.984 kB / 0.9857 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.8384, allocations: 16.12 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8384, allocations: 0 / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.8386, allocations: 55.84 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.8386, allocations: 15.92 kB / 0.9857 GB, free: 1.293 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.edge1.u,edge1.u,edge1.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 9.798e-05/0.8387, allocations: 121.8 kB / 0.9859 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.8387, allocations: 7.953 kB / 0.9859 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.8388, allocations: 8.375 kB / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8388, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8388, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8388, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.8393, allocations: 394.3 kB / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8393, allocations: 0 / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.8393, allocations: 15.98 kB / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8393, allocations: 0 / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.8394, allocations: 4 kB / 0.9863 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8394, allocations: 4 kB / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8394, allocations: 0 / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.8397, allocations: 219.7 kB / 0.9865 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.8397, allocations: 93.09 kB / 0.9866 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.8397, allocations: 8 kB / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.8398, allocations: 11.94 kB / 0.9866 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.8399, allocations: 7.984 kB / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.8399, allocations: 0 / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.8399, allocations: 91.27 kB / 0.9867 GB, free: 228 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8399, allocations: 0 / 0.9867 GB, free: 228 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002549/0.8402, allocations: 24 kB / 0.9867 GB, free: 204 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.000574/0.8408, allocations: 0.7679 MB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.8411, allocations: 187.3 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8412, allocations: 0 / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.8413, allocations: 56.09 kB / 0.9877 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.8416, allocations: 9.203 kB / 0.9877 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.8428, allocations: 0.6896 MB / 0.9884 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.8431, allocations: 0.6887 MB / 0.989 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.8431, allocations: 4 kB / 0.989 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.8432, allocations: 23.64 kB / 0.9891 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.8432, allocations: 0 / 0.9891 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.8551, allocations: 2.208 MB / 0.9912 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.8553, allocations: 198.7 kB / 0.9914 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.602, allocations: 0 / 0.9914 GB, free: 11.35 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat does not exist to compare? outputFormat=mat