Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_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.005073/0.005073, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00141/0.00141, allocations: 202.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.597/2.597, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 59.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2633, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001642/0.2649, allocations: 0.7457 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2662, allocations: 1.151 MB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.2663, allocations: 3.938 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.2663, allocations: 3.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.2664, allocations: 15.84 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2668, allocations: 135.6 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.267, allocations: 119.8 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.2671, allocations: 27.92 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.2672, allocations: 43.91 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.2673, allocations: 43.83 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.2673, allocations: 12 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.2674, allocations: 31.97 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.2674, allocations: 11.98 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.2675, allocations: 43.84 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2677, allocations: 111.6 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2677, allocations: 3.984 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2677, allocations: 0 / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2677, allocations: 8 kB / 1.223 GB, free: 11.8 MB / 0.9825 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.0005603/0.2683, allocations: 414.3 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2683, allocations: 11.97 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.2683, allocations: 34.75 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2684, allocations: 8.891 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2685, allocations: 172.4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2685, allocations: 8.359 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.2686, allocations: 4.375 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2687, allocations: 66.23 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2688, allocations: 7.875 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2688, allocations: 3.984 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2688, allocations: 4 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.269, allocations: 43.95 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.2694, allocations: 340.6 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.2696, allocations: 70.53 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.2697, allocations: 28.97 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.2697, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.2699, allocations: 99.41 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2699, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003988/0.2703, allocations: 137.5 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.2704, allocations: 59.39 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.2705, allocations: 113.8 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2705, allocations: 29.7 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.2706, allocations: 104.1 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2706, allocations: 15.89 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2707, allocations: 41.64 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2708, allocations: 322.8 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.271, allocations: 51.97 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.2711, allocations: 99.81 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.2714, allocations: 141.9 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2714, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004139/0.2719, allocations: 207.1 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.2719, allocations: 37.7 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2719, allocations: 4 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.2719, allocations: 0 / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.272, allocations: 15.92 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.272, allocations: 4 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.2722, allocations: 47.97 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.2722, allocations: 4 kB / 1.225 GB, free: 8.812 MB / 0.9825 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/0.2723, allocations: 121.8 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.2724, allocations: 7.953 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.2724, allocations: 12.36 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2724, allocations: 0 / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2724, allocations: 4 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2724, allocations: 4 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.2729, allocations: 374.4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2729, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.2729, allocations: 11.98 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2729, allocations: 0 / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.273, allocations: 4 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.273, allocations: 0 / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.273, allocations: 3.938 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.2733, allocations: 211.4 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.2733, allocations: 81.06 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2733, allocations: 4 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.2734, allocations: 7.984 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.2735, allocations: 11.92 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.2735, allocations: 8 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.2735, allocations: 91.27 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.764e-06/0.2735, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002375/0.2738, allocations: 31.88 kB / 1.226 GB, free: 7.734 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005953/0.2744, allocations: 0.7563 MB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.2747, allocations: 171.3 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2748, allocations: 0 / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2749, allocations: 39.97 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2751, allocations: 28.3 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.277, allocations: 1.693 MB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2773, allocations: 0.6885 MB / 1.229 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.2773, allocations: 4 kB / 1.229 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.2774, allocations: 24.62 kB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2774, allocations: 0 / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.941/1.218, allocations: 2.562 MB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.89, allocations: 1.734 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches