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.001217/0.001217, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.01007/0.01007, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 10.98 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3383, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009534/0.3393, allocations: 482.8 kB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3407, allocations: 1.155 MB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.3408, allocations: 3.938 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.3408, allocations: 11.88 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.3409, allocations: 7.922 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.3413, allocations: 122.8 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3414, allocations: 99.81 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.3415, allocations: 16 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.3416, allocations: 39.89 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.3417, allocations: 35.83 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3417, allocations: 8 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.834e-05/0.3417, allocations: 19.98 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.3418, allocations: 4 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.3418, allocations: 65.53 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.342, allocations: 111.7 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.342, allocations: 4 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.023e-06/0.342, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.342, allocations: 0 / 1.061 GB, free: 2.707 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.0005107/0.3425, allocations: 393.3 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3426, allocations: 11.97 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.3426, allocations: 38.69 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3426, allocations: 12.84 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.23e-05/0.3427, allocations: 172.3 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3428, allocations: 4.375 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3428, allocations: 12.38 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.343, allocations: 70.2 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.343, allocations: 3.938 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.343, allocations: 4 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.343, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3432, allocations: 63.86 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.3436, allocations: 328.7 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3438, allocations: 66.61 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3439, allocations: 40.95 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.344, allocations: 7.938 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.3442, allocations: 91.3 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.3442, allocations: 0 / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004203/0.3446, allocations: 161.6 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.3447, allocations: 55.41 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.3447, allocations: 121.8 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3448, allocations: 33.64 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.3448, allocations: 92.05 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3449, allocations: 19.81 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.3449, allocations: 21.7 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.345, allocations: 326.8 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3452, allocations: 55.91 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3453, allocations: 93.12 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.3456, allocations: 153.9 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3456, allocations: 0 / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004347/0.3461, allocations: 223.2 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.3461, allocations: 43.25 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3461, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3461, allocations: 4 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.3462, allocations: 11.98 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3462, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.3465, allocations: 51.92 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.3465, allocations: 12 kB / 1.064 GB, free: 15.67 MB / 0.8262 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.567e-05/0.3466, allocations: 121.7 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.3466, allocations: 7.906 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.3466, allocations: 16.36 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3466, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3467, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3467, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.3471, allocations: 390.4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3471, allocations: 3.938 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.3472, allocations: 8 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3472, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3472, allocations: 3.984 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3472, allocations: 4.062 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3472, allocations: 4 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3475, allocations: 219.3 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3475, allocations: 85.02 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3476, allocations: 0 / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.3477, allocations: 11.98 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3477, allocations: 23.86 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3477, allocations: 0 / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.3478, allocations: 91.27 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3478, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002444/0.348, allocations: 20 kB / 1.065 GB, free: 14.58 MB / 0.8262 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.0005471/0.3486, allocations: 0.7597 MB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.3489, allocations: 187.3 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3489, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3491, allocations: 47.91 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3493, allocations: 24.11 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3512, allocations: 1.724 MB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3514, allocations: 0.6848 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.3514, allocations: 7.984 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.3515, allocations: 19.44 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3515, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.3627, allocations: 2.231 MB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.3629, allocations: 208.2 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.161, allocations: 4 kB / 1.07 GB, free: 8.598 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