Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001178/0.001178, allocations: 109 kB / 17.54 MB, free: 4.746 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.001213/0.001213, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 63.91 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7975/0.7993, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001556/0.8008, allocations: 0.6072 MB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.8019, allocations: 1.116 MB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.802, allocations: 0.8125 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.802, allocations: 0 / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.802, allocations: 7.75 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.8024, allocations: 126.9 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.8026, allocations: 86.8 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.781e-05/0.8027, allocations: 6.984 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.242e-05/0.8027, allocations: 38.8 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.8028, allocations: 33.64 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.8028, allocations: 8.156 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.8029, allocations: 21.75 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.8029, allocations: 2.859 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.803, allocations: 30.95 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.8031, allocations: 79.83 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8031, allocations: 4 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8031, allocations: 0 / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.8031, allocations: 0.9375 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003444/0.8035, allocations: 376.2 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.8035, allocations: 10.94 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.8035, allocations: 35.3 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.8036, allocations: 5.594 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.8037, allocations: 167.9 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.8037, allocations: 2.375 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.8037, allocations: 9.25 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.583e-05/0.8038, allocations: 46.5 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8038, allocations: 3.938 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8038, allocations: 4.469 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.8038, allocations: 0 / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.8038, allocations: 3.844 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.8041, allocations: 284.5 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.871e-05/0.8041, allocations: 35.39 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.8041, allocations: 7.078 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.8041, allocations: 0 / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.8042, allocations: 57.56 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8042, allocations: 0 / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001631/0.8044, allocations: 61.25 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.8044, allocations: 59.14 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.8045, allocations: 106.6 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.8045, allocations: 28.11 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.8045, allocations: 98.02 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.8045, allocations: 1.812 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.8046, allocations: 28.7 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.8046, allocations: 316.6 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.8047, allocations: 27.45 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.8048, allocations: 49.75 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.8049, allocations: 87.14 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8049, allocations: 4 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002132/0.8051, allocations: 152.2 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.8051, allocations: 35.56 kB / 1.275 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8051, allocations: 0.8125 kB / 1.275 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8051, allocations: 5.062 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.8051, allocations: 0.9688 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.8051, allocations: 1.844 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.8053, allocations: 29.02 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.8054, allocations: 7.344 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.343e-05/0.8054, allocations: 113.9 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.8054, allocations: 2.094 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.8054, allocations: 14.83 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8055, allocations: 1.203 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8055, allocations: 0 / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8055, allocations: 4.766 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.063e-05/0.8055, allocations: 162 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8055, allocations: 0.9688 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-06/0.8055, allocations: 3.938 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.8055, allocations: 1.062 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.8055, allocations: 0.9062 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8055, allocations: 3.938 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8055, allocations: 0.9688 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.914e-05/0.8056, allocations: 88.59 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.8057, allocations: 78.08 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.8057, allocations: 2.578 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.8057, allocations: 0 / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.8057, allocations: 4.109 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.8057, allocations: 1.781 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.8057, allocations: 86.84 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8057, allocations: 4 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001985/0.8059, allocations: 18.81 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002571/0.8062, allocations: 0.6245 MB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.8064, allocations: 111 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8064, allocations: 4.188 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/0.8064, allocations: 6.156 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.8066, allocations: 22.12 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.8076, allocations: 1.36 MB / 1.278 GB, free: 17.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.8079, allocations: 0.6787 MB / 1.279 GB, free: 17.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.8079, allocations: 5.969 kB / 1.279 GB, free: 17.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.808, allocations: 15.2 kB / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.808, allocations: 0 / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.83, allocations: 1.953 MB / 1.281 GB, free: 16.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.707, allocations: 10.86 kB / 1.281 GB, free: 16.66 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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: 12.964857685000425]