Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001499/0.001499, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.81 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2639, allocations: 157.4 MB / 1.052 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002021/0.266, allocations: 0.8064 MB / 1.053 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.2674, allocations: 1.166 MB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2675, allocations: 7.938 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.2676, allocations: 3.938 kB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2676, allocations: 3.938 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.2681, allocations: 122.7 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2682, allocations: 107.8 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.2683, allocations: 8 kB / 1.054 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.2684, allocations: 47.91 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.2685, allocations: 39.81 kB / 1.054 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2685, allocations: 8 kB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.2686, allocations: 19.98 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.2686, allocations: 7.984 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.2687, allocations: 39.84 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.2689, allocations: 111.7 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2689, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.546e-06/0.2689, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2689, allocations: 3.938 kB / 1.055 GB, free: 5.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005443/0.2694, allocations: 413.2 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2695, allocations: 11.97 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.2695, allocations: 42.73 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.2696, allocations: 4.938 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2697, allocations: 172.2 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2697, allocations: 4.375 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.2697, allocations: 8.375 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.2699, allocations: 62.22 kB / 1.055 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2699, allocations: 7.938 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.27, allocations: 4 kB / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.27, allocations: 0 / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2702, allocations: 43.89 kB / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.2706, allocations: 340.6 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.2708, allocations: 66.61 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.2709, allocations: 32.91 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2709, allocations: 3.938 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.2712, allocations: 91.3 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.2712, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004152/0.2716, allocations: 145.5 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2716, allocations: 55.34 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.2717, allocations: 117.8 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2718, allocations: 25.7 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.2718, allocations: 96.12 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.2718, allocations: 19.88 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.2719, allocations: 37.7 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.272, allocations: 326.8 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.2722, allocations: 43.97 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.2724, allocations: 88.25 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.2726, allocations: 146.2 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2726, allocations: 0 / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004167/0.273, allocations: 215.1 kB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.2731, allocations: 37.7 kB / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2731, allocations: 0 / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2731, allocations: 0 / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.2732, allocations: 11.98 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2732, allocations: 4 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.2734, allocations: 43.92 kB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.2735, allocations: 11.98 kB / 1.057 GB, free: 2.676 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,edge1.y,edge1.u,$PRE.edge1.u,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 8.895e-05/0.2736, allocations: 131.6 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2736, allocations: 4 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.2736, allocations: 8.375 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2736, allocations: 4 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2736, allocations: 0 / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2736, allocations: 7.938 kB / 1.057 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.2741, allocations: 378.3 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2741, allocations: 0 / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.2742, allocations: 11.98 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2742, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2742, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2742, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2742, allocations: 4 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.2745, allocations: 215.3 kB / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.2745, allocations: 77.11 kB / 1.058 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2746, allocations: 3.938 kB / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.2746, allocations: 8.047 kB / 1.058 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2747, allocations: 19.92 kB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-06/0.2747, allocations: 11.94 kB / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.2748, allocations: 91.27 kB / 1.058 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2748, allocations: 0 / 1.058 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002494/0.275, allocations: 20 kB / 1.058 GB, free: 1.602 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.00056/0.2756, allocations: 0.7475 MB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.2759, allocations: 167.3 kB / 1.059 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.276, allocations: 0 / 1.059 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2761, allocations: 43.91 kB / 1.059 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.2763, allocations: 22.28 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.2783, allocations: 1.693 MB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.2785, allocations: 0.6848 MB / 1.061 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.2786, allocations: 11.98 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.2786, allocations: 19.44 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2787, allocations: 0 / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3715/0.6501, allocations: 2.3 MB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/0.6505, allocations: 202.6 kB / 1.064 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.399, allocations: 1.375 kB / 1.064 GB, free: 11.6 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches