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.001476/0.001476, allocations: 100.1 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.001727/0.001727, allocations: 177.3 kB / 15.95 MB, free: 216 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.864/1.864, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.962/3.962, allocations: 409.2 MB / 0.6838 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.000604, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256/1.257, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001278/1.258, allocations: 479.4 kB / 0.9813 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002008/1.26, allocations: 1.105 MB / 0.9824 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/1.26, allocations: 0 / 0.9824 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/1.26, allocations: 3.938 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/1.26, allocations: 11.97 kB / 0.9824 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/1.261, allocations: 122.6 kB / 0.9826 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/1.261, allocations: 59.92 kB / 0.9826 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/1.261, allocations: 11.98 kB / 0.9826 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/1.262, allocations: 39.84 kB / 0.9827 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/1.262, allocations: 43.81 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/1.262, allocations: 4 kB / 0.9827 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/1.262, allocations: 19.98 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/1.262, allocations: 12 kB / 0.9827 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/1.262, allocations: 37.64 kB / 0.9828 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/1.262, allocations: 75.81 kB / 0.9828 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.262, allocations: 0 / 0.9828 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.274e-06/1.262, allocations: 0 / 0.9828 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.936e-06/1.262, allocations: 4 kB / 0.9828 GB, free: 4.301 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.0008404/1.263, allocations: 403.1 kB / 0.9832 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/1.263, allocations: 8.031 kB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.469e-05/1.263, allocations: 38.56 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/1.263, allocations: 15.91 kB / 0.9833 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/1.263, allocations: 167 kB / 0.9834 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/1.264, allocations: 0 / 0.9834 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/1.264, allocations: 11.98 kB / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/1.264, allocations: 73.56 kB / 0.9835 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.264, allocations: 0 / 0.9835 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/1.264, allocations: 11.98 kB / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.264, allocations: 4 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/1.264, allocations: 51.94 kB / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/1.265, allocations: 336.7 kB / 0.9839 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/1.265, allocations: 70.55 kB / 0.984 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/1.265, allocations: 0 / 0.984 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/1.266, allocations: 95.42 kB / 0.9841 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/1.266, allocations: 0 / 0.9841 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0006689/1.266, allocations: 161.5 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.266, allocations: 63.34 kB / 0.9843 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.267, allocations: 121.8 kB / 0.9844 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/1.267, allocations: 29.7 kB / 0.9844 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/1.267, allocations: 88.14 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/1.267, allocations: 19.66 kB / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/1.267, allocations: 8 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.267, allocations: 318.8 kB / 0.9848 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.267, allocations: 63.95 kB / 0.9849 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/1.267, allocations: 88.27 kB / 0.985 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/1.268, allocations: 85.61 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.268, allocations: 3.953 kB / 0.9851 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006581/1.268, allocations: 215.2 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/1.268, allocations: 41.69 kB / 0.9853 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.269, allocations: 0 / 0.9853 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.269, allocations: 0 / 0.9853 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/1.269, allocations: 24.05 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.269, allocations: 4 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.269, allocations: 51.86 kB / 0.9854 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/1.269, allocations: 4 kB / 0.9854 GB, free: 1.414 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.000142/1.269, allocations: 121.8 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/1.269, allocations: 11.86 kB / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/1.269, allocations: 12.36 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.269, allocations: 0 / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.269, allocations: 4 kB / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.269, allocations: 0 / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/1.27, allocations: 390.4 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.27, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/1.27, allocations: 16 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.27, allocations: 0 / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.27, allocations: 7.969 kB / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.27, allocations: 11.88 kB / 0.986 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.27, allocations: 0 / 0.986 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/1.271, allocations: 215.8 kB / 0.9862 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/1.271, allocations: 85.02 kB / 0.9862 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/1.271, allocations: 8 kB / 0.9862 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/1.271, allocations: 12.05 kB / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/1.271, allocations: 7.984 kB / 0.9863 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/1.271, allocations: 4 kB / 0.9863 GB, free: 432 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.828e-05/1.271, allocations: 91.27 kB / 0.9864 GB, free: 340 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.271, allocations: 3.938 kB / 0.9864 GB, free: 336 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005228/1.272, allocations: 24 kB / 0.9864 GB, free: 312 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.001044/1.273, allocations: 0.7631 MB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006015/1.274, allocations: 187.3 kB / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.274, allocations: 0 / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/1.274, allocations: 48.22 kB / 0.9874 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.0003433/1.274, allocations: 11.98 kB / 0.9874 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.275, allocations: 1.003 MB / 0.9883 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.276, allocations: 0.7018 MB / 0.989 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.945e-05/1.276, allocations: 4 kB / 0.989 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/1.276, allocations: 19.42 kB / 0.9891 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/1.276, allocations: 0 / 0.9891 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/1.296, allocations: 2.196 MB / 0.9912 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/1.296, allocations: 193.8 kB / 0.9914 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/3.455, allocations: 0 / 0.9914 GB, free: 11.17 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