Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_10_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.00478/0.00478, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001414/0.001414, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437.1 MB / 0.7106 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001743, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2639, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001746/0.2657, allocations: 0.7572 MB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2671, allocations: 1.151 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.2671, allocations: 3.938 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.2671, allocations: 7.938 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.213e-05/0.2672, allocations: 7.938 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2677, allocations: 138.9 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2678, allocations: 131.7 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.2679, allocations: 11.98 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.268, allocations: 51.91 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.2681, allocations: 47.86 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.2681, allocations: 8 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.2682, allocations: 20 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2682, allocations: 15.92 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.2683, allocations: 43.83 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2685, allocations: 115.9 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2685, allocations: 8 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2685, allocations: 0 / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2685, allocations: 3.938 kB / 1.169 GB, free: 4.75 MB / 0.92 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.0005453/0.269, allocations: 412.8 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2691, allocations: 12.03 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.2691, allocations: 34.75 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.2692, allocations: 4.938 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2693, allocations: 176.3 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2693, allocations: 8.375 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.2693, allocations: 12.38 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2695, allocations: 62.22 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2695, allocations: 7.938 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.2695, allocations: 0 / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2695, allocations: 0 / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.2697, allocations: 55.81 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.2702, allocations: 340.7 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.2704, allocations: 58.55 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.2705, allocations: 32.97 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.2705, allocations: 3.938 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.2707, allocations: 87.36 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004104/0.2711, allocations: 149.6 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2712, allocations: 51.41 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.2713, allocations: 121.8 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.2713, allocations: 29.7 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.2714, allocations: 96.08 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2714, allocations: 19.84 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.2715, allocations: 37.7 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2716, allocations: 326.8 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.2718, allocations: 51.95 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2719, allocations: 84.25 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.2722, allocations: 145.9 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2722, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004349/0.2727, allocations: 215.4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.2727, allocations: 33.7 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2727, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2727, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.2728, allocations: 15.98 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2728, allocations: 12.11 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.273, allocations: 39.84 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.2731, allocations: 8 kB / 1.171 GB, free: 1.77 MB / 0.92 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 0.0001064/0.2732, allocations: 125.8 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.2732, allocations: 7.938 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.2732, allocations: 4.375 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2732, allocations: 8 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2732, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2732, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.2737, allocations: 382.4 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2737, allocations: 0 / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.2738, allocations: 11.98 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2738, allocations: 0 / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2738, allocations: 0 / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2738, allocations: 4 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2738, allocations: 7.938 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.2741, allocations: 211.4 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.2742, allocations: 81.05 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2742, allocations: 7.984 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.2743, allocations: 4 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.2743, allocations: 19.92 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2743, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.2744, allocations: 95.2 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2744, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002401/0.2746, allocations: 23.95 kB / 1.172 GB, free: 0.6953 MB / 0.92 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.0006205/0.2753, allocations: 0.7437 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.2757, allocations: 183.2 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2757, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2758, allocations: 35.98 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.276, allocations: 22.83 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.278, allocations: 1.7 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2783, allocations: 0.6846 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.2784, allocations: 7.984 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2784, allocations: 23.44 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2784, allocations: 0 / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6861/0.9645, allocations: 2.567 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.759/10.72, allocations: 7.953 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches