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.001843/0.001843, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001232/0.001232, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.015/2.015, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.729/3.729, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306/1.306, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001537/1.308, allocations: 483.4 kB / 0.9813 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002503/1.31, allocations: 1.105 MB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/1.31, allocations: 0 / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/1.31, allocations: 3.938 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/1.311, allocations: 3.984 kB / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/1.311, allocations: 118.4 kB / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/1.312, allocations: 63.86 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/1.312, allocations: 15.98 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/1.312, allocations: 27.92 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/1.312, allocations: 43.81 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/1.312, allocations: 4 kB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/1.312, allocations: 19.98 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/1.312, allocations: 19.92 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/1.312, allocations: 33.7 kB / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/1.312, allocations: 75.81 kB / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.312, allocations: 0 / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.484e-06/1.312, allocations: 0 / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.16e-06/1.312, allocations: 0 / 0.9828 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.0007698/1.313, allocations: 399.1 kB / 0.9832 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/1.313, allocations: 12.03 kB / 0.9832 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/1.313, allocations: 38.5 kB / 0.9833 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/1.313, allocations: 7.906 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/1.314, allocations: 171 kB / 0.9834 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/1.314, allocations: 7.984 kB / 0.9834 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/1.314, allocations: 4 kB / 0.9834 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/1.314, allocations: 69.62 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.314, allocations: 4 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/1.314, allocations: 3.984 kB / 0.9835 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.314, allocations: 4 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/1.314, allocations: 47.97 kB / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/1.315, allocations: 340.6 kB / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/1.315, allocations: 62.56 kB / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/1.316, allocations: 3.938 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/1.316, allocations: 99.42 kB / 0.984 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/1.316, allocations: 0 / 0.984 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007043/1.317, allocations: 161.6 kB / 0.9842 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/1.317, allocations: 55.41 kB / 0.9843 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/1.317, allocations: 125.7 kB / 0.9844 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/1.317, allocations: 29.7 kB / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/1.317, allocations: 88.14 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/1.317, allocations: 19.73 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/1.317, allocations: 12 kB / 0.9845 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.317, allocations: 314.8 kB / 0.9848 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/1.318, allocations: 63.89 kB / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/1.318, allocations: 92.25 kB / 0.985 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/1.318, allocations: 81.67 kB / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.318, allocations: 0 / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000728/1.319, allocations: 223 kB / 0.9853 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.355e-05/1.319, allocations: 37.7 kB / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.319, allocations: 0 / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/1.319, allocations: 4 kB / 0.9853 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/1.319, allocations: 16.11 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.319, allocations: 4 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/1.32, allocations: 51.86 kB / 0.9854 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/1.32, allocations: 4 kB / 0.9854 GB, free: 1.41 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 0.0001488/1.32, allocations: 127.3 kB / 0.9855 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/1.32, allocations: 11.94 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/1.32, allocations: 8.375 kB / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.32, allocations: 0 / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.32, allocations: 4 kB / 0.9855 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.32, allocations: 3.984 kB / 0.9855 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007541/1.321, allocations: 390.3 kB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.321, allocations: 0 / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/1.321, allocations: 11.98 kB / 0.9859 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.321, allocations: 4 kB / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.321, allocations: 8 kB / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.321, allocations: 0 / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.321, allocations: 0 / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/1.321, allocations: 227.7 kB / 0.9861 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/1.321, allocations: 85.05 kB / 0.9862 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/1.322, allocations: 4 kB / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/1.322, allocations: 11.98 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/1.322, allocations: 11.92 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.322, allocations: 0 / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.928e-05/1.322, allocations: 99.2 kB / 0.9863 GB, free: 328 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.322, allocations: 0 / 0.9863 GB, free: 328 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005208/1.322, allocations: 24 kB / 0.9864 GB, free: 304 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.000996/1.323, allocations: 0.7592 MB / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006137/1.324, allocations: 183.3 kB / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.324, allocations: 0 / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/1.324, allocations: 52.16 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/1.325, allocations: 7.984 kB / 0.9873 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/1.326, allocations: 1.003 MB / 0.9883 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/1.326, allocations: 0.6887 MB / 0.989 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.571e-05/1.326, allocations: 7.984 kB / 0.989 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/1.326, allocations: 23.38 kB / 0.989 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/1.326, allocations: 0 / 0.989 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/1.348, allocations: 2.184 MB / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003917/1.348, allocations: 188.3 kB / 0.9913 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.742, allocations: 0 / 0.9913 GB, free: 11.16 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