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.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.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.002444/0.002444, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00282/0.00282, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 62.8 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3309, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001805/0.3327, allocations: 0.8142 MB / 1.053 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3339, allocations: 1.151 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.3339, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.334, allocations: 3.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.3341, allocations: 7.922 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3345, allocations: 122.9 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3346, allocations: 127.7 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.3347, allocations: 19.98 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.716e-05/0.3348, allocations: 47.91 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.3349, allocations: 43.81 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3349, allocations: 12 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.249e-05/0.335, allocations: 23.98 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.335, allocations: 8 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.3351, allocations: 43.84 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3352, allocations: 111.7 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3352, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3353, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3353, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005252/0.3358, allocations: 422.6 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3358, allocations: 12.62 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.3359, allocations: 30.75 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.3359, allocations: 4.938 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/0.336, allocations: 172.2 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.336, allocations: 8.359 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3361, allocations: 16.36 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.3362, allocations: 58.23 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3363, allocations: 7.938 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3363, allocations: 7.984 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3363, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3364, allocations: 31.97 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3369, allocations: 340.5 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3371, allocations: 62.61 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.3372, allocations: 36.89 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3372, allocations: 4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3374, allocations: 99.36 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.3374, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003804/0.3378, allocations: 133.5 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3378, allocations: 55.41 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.3379, allocations: 117.8 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.338, allocations: 33.69 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.338, allocations: 96.14 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.338, allocations: 15.8 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.3381, allocations: 37.69 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.3382, allocations: 322.8 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3384, allocations: 51.95 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3385, allocations: 99.31 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.3388, allocations: 133.9 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3388, allocations: 4 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003855/0.3392, allocations: 207.1 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.3392, allocations: 41.64 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3392, allocations: 3.984 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3392, allocations: 4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.3393, allocations: 8 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3393, allocations: 4.297 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.3395, allocations: 44 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.3396, allocations: 15.98 kB / 1.058 GB, free: 3.117 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.732e-05/0.3397, allocations: 125.7 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.3397, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.3397, allocations: 12.38 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3397, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3397, allocations: 3.938 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3397, allocations: 7.984 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.3401, allocations: 378.4 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3401, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.3402, allocations: 11.92 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3402, allocations: 0 / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3402, allocations: 4 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3402, allocations: 0 / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3402, allocations: 4 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3405, allocations: 207.3 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.3405, allocations: 85.09 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3405, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.3406, allocations: 4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.3407, allocations: 15.92 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3407, allocations: 4 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.3407, allocations: 91.27 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3407, allocations: 0 / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002363/0.341, allocations: 28 kB / 1.058 GB, free: 2.055 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.0005141/0.3415, allocations: 0.7475 MB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.3418, allocations: 175.3 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3419, allocations: 0 / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.342, allocations: 43.91 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3422, allocations: 20.12 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.344, allocations: 1.698 MB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3442, allocations: 0.6963 MB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.3442, allocations: 4 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.3443, allocations: 23.42 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3443, allocations: 4 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.285/4.629, allocations: 2.373 MB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/4.63, allocations: 210.3 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/7.208, allocations: 6.609 kB / 1.064 GB, free: 11.97 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