Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.001463/0.001463, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001672/0.001673, allocations: 176.7 kB / 15.95 MB, free: 192 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.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.649/2.649, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 16 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7761, allocations: 146.8 MB / 0.9812 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001371/0.7775, allocations: 487.2 kB / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.7797, allocations: 1.113 MB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.7798, allocations: 4 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.7799, allocations: 3.938 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.78, allocations: 11.91 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.7807, allocations: 114.9 kB / 0.9828 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.7809, allocations: 95.81 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.781, allocations: 7.984 kB / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.7811, allocations: 43.84 kB / 0.983 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.7812, allocations: 43.83 kB / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.7813, allocations: 4 kB / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.7814, allocations: 19.98 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.7814, allocations: 11.97 kB / 0.983 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.7815, allocations: 37.64 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.7816, allocations: 75.83 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7816, allocations: 0 / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7816, allocations: 0 / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.7816, allocations: 0 / 0.9832 GB, free: 4.152 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000618/0.7822, allocations: 403.1 kB / 0.9835 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.7823, allocations: 12.03 kB / 0.9836 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.7824, allocations: 30.56 kB / 0.9836 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.7824, allocations: 7.906 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7826, allocations: 182.9 kB / 0.9838 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.7826, allocations: 4 kB / 0.9838 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.7826, allocations: 8 kB / 0.9838 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.7828, allocations: 77.61 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.7829, allocations: 0 / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.7829, allocations: 0 / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.7829, allocations: 3.984 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.7831, allocations: 63.89 kB / 0.9839 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.7837, allocations: 336.6 kB / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.784, allocations: 66.55 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.7841, allocations: 33.03 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.7841, allocations: 0 / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.7844, allocations: 107.4 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.935e-06/0.7844, allocations: 0 / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.785, allocations: 157.5 kB / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.7851, allocations: 51.41 kB / 0.9846 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.7852, allocations: 125.7 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.7852, allocations: 25.7 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.7854, allocations: 100.1 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.7854, allocations: 23.64 kB / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.7854, allocations: 8 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7856, allocations: 318.8 kB / 0.9852 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.7858, allocations: 55.97 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.786, allocations: 95.19 kB / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.7862, allocations: 93.62 kB / 0.9854 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7862, allocations: 0 / 0.9854 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004571/0.7867, allocations: 219.3 kB / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.7867, allocations: 29.7 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7867, allocations: 4 kB / 0.9857 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.7868, allocations: 3.984 kB / 0.9857 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.7869, allocations: 12 kB / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.7869, allocations: 320 / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.7871, allocations: 55.89 kB / 0.9857 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.7871, allocations: 11.98 kB / 0.9858 GB, free: 1.219 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.0001417/0.7873, allocations: 126.8 kB / 0.9859 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.7873, allocations: 11.91 kB / 0.9859 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.7874, allocations: 8.375 kB / 0.9859 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7874, allocations: 64 / 0.9859 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.7874, allocations: 4 kB / 0.9859 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7874, allocations: 0 / 0.9859 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.7879, allocations: 398.4 kB / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7879, allocations: 0 / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.788, allocations: 15.92 kB / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.788, allocations: 0 / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.788, allocations: 4 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.788, allocations: 0 / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.788, allocations: 3.938 kB / 0.9863 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.7884, allocations: 223.4 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.7884, allocations: 85 kB / 0.9866 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.7884, allocations: 3.938 kB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.7885, allocations: 15.98 kB / 0.9866 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.7886, allocations: 4 kB / 0.9866 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7886, allocations: 7.984 kB / 0.9866 GB, free: 228 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.7887, allocations: 87.28 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.533e-06/0.7887, allocations: 4 kB / 0.9867 GB, free: 136 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002731/0.789, allocations: 23.94 kB / 0.9867 GB, free: 112 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0007988/0.7898, allocations: 0.7592 MB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.7902, allocations: 187.3 kB / 0.9877 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7902, allocations: 0 / 0.9877 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.7903, allocations: 47.91 kB / 0.9877 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.7906, allocations: 16.25 kB / 0.9877 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.792, allocations: 0.686 MB / 0.9884 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.7924, allocations: 0.6926 MB / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.663e-05/0.7925, allocations: 7.984 kB / 0.9891 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.7925, allocations: 19.44 kB / 0.9891 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.7925, allocations: 0 / 0.9891 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.807, allocations: 2.228 MB / 0.9913 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.8073, allocations: 199.1 kB / 0.9915 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.645, allocations: 4 kB / 0.9915 GB, free: 11.27 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat does not exist to compare? outputFormat=mat