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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9233/0.9233, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.701/1.701, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.673e-06/1.673e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.385e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001069/0.001083, allocations: 0.5938 MB / 0.951 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.002042, allocations: 1.132 MB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.002077, allocations: 0 / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.002102, allocations: 3.938 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.002154, allocations: 3.938 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.002505, allocations: 120 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.002633, allocations: 95.88 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.002714, allocations: 3.984 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.00279, allocations: 51.91 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.002865, allocations: 19.97 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.002884, allocations: 11.98 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.002935, allocations: 19.98 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.002951, allocations: 4 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.002989, allocations: 23.92 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003119, allocations: 103.8 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003121, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003122, allocations: 4 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.003126, allocations: 0 / 0.9526 GB, free: 1.312 MB / 0.9011 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.0003317/0.003458, allocations: 303.9 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.003499, allocations: 12.03 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.743e-05/0.003526, allocations: 34.75 kB / 0.9529 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.003558, allocations: 8.891 kB / 0.9529 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.859e-05/0.003627, allocations: 109.7 kB / 0.953 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.003637, allocations: 4.375 kB / 0.953 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.00365, allocations: 4.375 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.459e-05/0.003734, allocations: 67.95 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.00374, allocations: 4.188 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.003748, allocations: 384 / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.003753, allocations: 8.109 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.003771, allocations: 4 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.004101, allocations: 236 kB / 0.9534 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.004139, allocations: 30.5 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.048e-05/0.004149, allocations: 8.797 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.004155, allocations: 4.062 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.004263, allocations: 92.98 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004264, allocations: 0 / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001384/0.004403, allocations: 65.62 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.004432, allocations: 51.41 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.004502, allocations: 105.9 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.004516, allocations: 29.7 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.004551, allocations: 88.14 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.00456, allocations: 3.953 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.0046, allocations: 33.66 kB / 0.9538 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.004674, allocations: 318.8 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.004732, allocations: 57.69 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.004793, allocations: 76.25 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.004861, allocations: 88.2 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004863, allocations: 4 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001648/0.005028, allocations: 176.9 kB / 0.9545 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.005055, allocations: 41.69 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005059, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.005069, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.264e-05/0.005082, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005087, allocations: 4 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.005211, allocations: 32 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.005223, allocations: 4 kB / 0.9546 GB, free: 14.97 MB / 0.9167 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.988e-05/0.005283, allocations: 117.8 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-06/0.00529, allocations: 11.92 kB / 0.9547 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.005308, allocations: 4 kB / 0.9547 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005309, allocations: 320 / 0.9547 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.005313, allocations: 3.938 kB / 0.9547 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.005315, allocations: 0 / 0.9547 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.894e-05/0.005394, allocations: 132.8 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005395, allocations: 4 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-06/0.0054, allocations: 7.938 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005401, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.005408, allocations: 4 kB / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.005409, allocations: 0 / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005409, allocations: 3.938 kB / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.152e-05/0.005481, allocations: 85.28 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.005488, allocations: 3.938 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.005498, allocations: 4 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.005506, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.005529, allocations: 7.938 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.005534, allocations: 7.984 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.005561, allocations: 83.28 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005561, allocations: 4 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001374/0.005698, allocations: 12 kB / 0.9551 GB, free: 14.41 MB / 0.9167 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.0002445/0.005943, allocations: 0.6202 MB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.006093, allocations: 133 kB / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006094, allocations: 0 / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.006111, allocations: 15.98 kB / 0.9558 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.00625, allocations: 8.188 kB / 0.9558 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.007182, allocations: 1.489 MB / 0.9573 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.007222, allocations: 67.25 kB / 0.9574 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.746e-05/0.007239, allocations: 3.984 kB / 0.9574 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.007267, allocations: 12.5 kB / 0.9574 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.007267, allocations: 0 / 0.9574 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.02294, allocations: 2.725 MB / 0.96 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.712, allocations: 5.938 kB / 0.96 GB, free: 9.301 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/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] "Error: Failed to open simulation result Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv: Error: Error opening file: Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,assert.u Variables in the result: [Calling sys.exit(0), Time elapsed: 10.860825926065445]