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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001761/0.001761, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001782/0.001782, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 66.58 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001881/0.3495, allocations: 0.8142 MB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3507, allocations: 1.158 MB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.3508, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3508, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.009e-05/0.3509, allocations: 15.84 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.3513, allocations: 114.9 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3515, allocations: 123.8 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.3516, allocations: 19.98 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.248e-05/0.3517, allocations: 55.83 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.3518, allocations: 39.83 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3518, allocations: 16 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.3519, allocations: 19.98 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.3519, allocations: 19.92 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.352, allocations: 39.84 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3521, allocations: 107.7 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3521, allocations: 4 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3521, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3521, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 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.0005397/0.3527, allocations: 417.2 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3527, allocations: 12.56 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.3528, allocations: 42.73 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3528, allocations: 4.938 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3529, allocations: 172.2 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3529, allocations: 4.375 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.353, allocations: 8.375 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3531, allocations: 66.2 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3532, allocations: 3.938 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3532, allocations: 12 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3532, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.3534, allocations: 39.95 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.3538, allocations: 344.5 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.354, allocations: 62.61 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.3541, allocations: 32.95 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3541, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.3543, allocations: 91.3 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3543, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004012/0.3547, allocations: 141.6 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3548, allocations: 51.41 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.3549, allocations: 121.8 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3549, allocations: 29.7 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.355, allocations: 88.14 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.355, allocations: 23.7 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.3551, allocations: 45.64 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.3551, allocations: 322.8 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3553, allocations: 55.91 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3555, allocations: 84.19 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3557, allocations: 141.9 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3557, allocations: 0 / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004159/0.3562, allocations: 219.2 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.3562, allocations: 37.69 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3562, allocations: 0 / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3562, allocations: 0 / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.3563, allocations: 11.98 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3563, allocations: 4 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3565, allocations: 47.92 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.3566, allocations: 8 kB / 1.058 GB, free: 3.105 MB / 0.8106 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.458e-05/0.3567, allocations: 121.7 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.3567, allocations: 7.906 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.3567, allocations: 12.36 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3567, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3567, allocations: 0 / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3567, allocations: 0 / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3572, allocations: 382.8 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3572, allocations: 4 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.3573, allocations: 7.938 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3573, allocations: 0 / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3573, allocations: 3.984 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3573, allocations: 4 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3573, allocations: 3.938 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3576, allocations: 203.4 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.3576, allocations: 81.02 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3576, allocations: 8 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.3577, allocations: 8.047 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.3578, allocations: 15.92 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3578, allocations: 4 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.3578, allocations: 95.81 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.784e-06/0.3578, allocations: 0 / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000253/0.3581, allocations: 27.94 kB / 1.058 GB, free: 2.031 MB / 0.8106 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.0005654/0.3587, allocations: 0.7428 MB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.359, allocations: 179.3 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3591, allocations: 3.938 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3592, allocations: 39.91 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3594, allocations: 20.17 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3613, allocations: 1.699 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.3615, allocations: 0.6846 MB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.3616, allocations: 11.98 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.3616, allocations: 19.44 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3616, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.607/3.968, allocations: 2.391 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/3.969, allocations: 215.7 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/6.161, allocations: 0 / 1.064 GB, free: 11.96 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches