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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.91 kB / 1.134 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 173.9 MB / 1.304 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002065/1.013, allocations: 0.739 MB / 1.305 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001621/1.015, allocations: 1.162 MB / 1.306 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/1.015, allocations: 5.25 kB / 1.306 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/1.015, allocations: 4.734 kB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/1.015, allocations: 9.828 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/1.016, allocations: 137.7 kB / 1.306 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/1.016, allocations: 121.4 kB / 1.306 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/1.016, allocations: 11.38 kB / 1.306 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/1.016, allocations: 44.72 kB / 1.306 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/1.016, allocations: 45 kB / 1.306 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/1.016, allocations: 15 kB / 1.306 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.959e-05/1.016, allocations: 27.72 kB / 1.306 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/1.016, allocations: 13.36 kB / 1.306 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/1.016, allocations: 43.83 kB / 1.306 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/1.016, allocations: 112.5 kB / 1.306 GB, free: 14.06 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.016, allocations: 3.938 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/1.016, allocations: 1.344 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.016, allocations: 0 / 1.306 GB, free: 14.05 MB / 1.014 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.0006084/1.017, allocations: 409.1 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/1.017, allocations: 13.34 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/1.017, allocations: 41.11 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/1.017, allocations: 11.69 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/1.017, allocations: 168.8 kB / 1.307 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.017, allocations: 4.094 kB / 1.307 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/1.017, allocations: 10.44 kB / 1.307 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.018, allocations: 60.22 kB / 1.307 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.018, allocations: 3.938 kB / 1.307 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.018, allocations: 5.672 kB / 1.307 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.018, allocations: 4 kB / 1.307 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/1.018, allocations: 38.83 kB / 1.307 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/1.018, allocations: 337.2 kB / 1.307 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/1.018, allocations: 53.27 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.019, allocations: 41.56 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/1.019, allocations: 1.094 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/1.019, allocations: 87.33 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/1.019, allocations: 1.344 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0004461/1.019, allocations: 140.5 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/1.019, allocations: 54.23 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.019, allocations: 117.2 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.02, allocations: 32.2 kB / 1.308 GB, free: 12.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/1.02, allocations: 97.72 kB / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/1.02, allocations: 25.12 kB / 1.308 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/1.02, allocations: 38.39 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.02, allocations: 330.7 kB / 1.308 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/1.02, allocations: 50.25 kB / 1.308 GB, free: 12.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/1.02, allocations: 82.88 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/1.02, allocations: 141.9 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.02, allocations: 0 / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000453/1.021, allocations: 215.4 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/1.021, allocations: 35.27 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.021, allocations: 1.219 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.021, allocations: 1.922 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/1.021, allocations: 14.34 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.021, allocations: 3.109 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/1.021, allocations: 34.66 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/1.021, allocations: 8.625 kB / 1.309 GB, free: 11.87 MB / 1.014 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 0.0001134/1.021, allocations: 140.8 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/1.021, allocations: 4.5 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/1.021, allocations: 6.469 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.021, allocations: 1.5 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.021, allocations: 0.6094 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.021, allocations: 0 / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/1.022, allocations: 391.2 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.022, allocations: 0.7969 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/1.022, allocations: 7.484 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.022, allocations: 1.156 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/1.022, allocations: 2.234 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.022, allocations: 0.7969 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.022, allocations: 1.25 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/1.022, allocations: 219.9 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/1.022, allocations: 83.97 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/1.022, allocations: 2.438 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/1.022, allocations: 6.297 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/1.023, allocations: 10.11 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.023, allocations: 10.34 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.585e-05/1.023, allocations: 99.2 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.023, allocations: 1.312 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002598/1.023, allocations: 23.91 kB / 1.31 GB, free: 11 MB / 1.014 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.0006469/1.024, allocations: 0.7381 MB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003654/1.024, allocations: 163.3 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.024, allocations: 5.531 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/1.024, allocations: 42.83 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/1.024, allocations: 17.38 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/1.026, allocations: 1.682 MB / 1.313 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/1.027, allocations: 0.6911 MB / 1.313 GB, free: 8.082 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.723e-05/1.027, allocations: 5.984 kB / 1.313 GB, free: 8.082 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/1.027, allocations: 20.69 kB / 1.313 GB, free: 8.066 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/1.027, allocations: 0 / 1.313 GB, free: 8.066 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/1.051, allocations: 2.552 MB / 1.316 GB, free: 7.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/9.158, allocations: 11.52 kB / 1.316 GB, free: 7.035 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.002 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.573325460311025]