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.0008082/0.0008082, 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.000899/0.000899, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9154/0.9154, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.702/1.702, allocations: 359 MB / 0.6037 GB, free: 11.11 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 2.485e-06/2.485e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.572e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001261/0.001286, allocations: 0.5907 MB / 0.951 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.002351, allocations: 1.128 MB / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.002388, allocations: 0 / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.002414, allocations: 3.938 kB / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.00247, allocations: 3.938 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.002858, allocations: 122.9 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.002983, allocations: 87.83 kB / 0.9524 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.003066, allocations: 8 kB / 0.9524 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.00315, allocations: 51.94 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.003223, allocations: 19.97 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003243, allocations: 8 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.003299, allocations: 19.98 kB / 0.9525 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.003315, allocations: 7.938 kB / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.003355, allocations: 23.97 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.003493, allocations: 103.7 kB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003495, allocations: 0 / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.744e-06/0.003496, allocations: 0 / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.0035, allocations: 0 / 0.9526 GB, free: 1.348 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.000347/0.003847, allocations: 307.9 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.003884, allocations: 8.031 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.00391, allocations: 34.75 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.003942, allocations: 8.891 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.936e-05/0.004012, allocations: 105.8 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.004024, allocations: 8.375 kB / 0.953 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.004039, allocations: 4.375 kB / 0.953 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.004141, allocations: 55.97 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.00415, allocations: 12.11 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004158, allocations: 384 / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004164, allocations: 8.125 kB / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.004185, allocations: 11.94 kB / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.004629, allocations: 236 kB / 0.9534 GB, free: 448 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.004673, allocations: 18.58 kB / 0.9534 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.004685, allocations: 4.859 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.004693, allocations: 3.984 kB / 0.9534 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.004837, allocations: 101 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.004838, allocations: 4 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001676/0.005006, allocations: 61.67 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.005045, allocations: 51.41 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.005109, allocations: 113.8 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.005134, allocations: 29.7 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.005172, allocations: 84.14 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.005183, allocations: 11.94 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.00523, allocations: 33.7 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.005309, allocations: 310.8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.00538, allocations: 61.67 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.005445, allocations: 80.2 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.005519, allocations: 80.27 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.005522, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001744/0.005696, allocations: 184.9 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.005729, allocations: 33.7 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005734, allocations: 0 / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.005747, allocations: 0 / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.938e-05/0.005767, allocations: 7.922 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.005773, allocations: 4 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.005915, allocations: 31.91 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.00593, allocations: 8.094 kB / 0.9546 GB, free: 15 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 6.419e-05/0.005994, allocations: 109.8 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.006003, allocations: 11.94 kB / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.006027, allocations: 7.984 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006029, allocations: 0 / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.006033, allocations: 3.938 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006036, allocations: 0 / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.358e-05/0.00611, allocations: 132.7 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.00611, allocations: 0 / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.006115, allocations: 3.938 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006117, allocations: 4 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.006123, allocations: 0 / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006124, allocations: 4 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006125, allocations: 0 / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.804e-05/0.006203, allocations: 85.02 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.006211, allocations: 7.922 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.006221, allocations: 320 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.006233, allocations: 4 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.006255, allocations: 4 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.00626, allocations: 0 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.00629, allocations: 87.27 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00629, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001489/0.006439, allocations: 16 kB / 0.9551 GB, free: 14.44 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.000272/0.006711, allocations: 0.6165 MB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.006867, allocations: 137.1 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.006869, allocations: 0 / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-05/0.006888, allocations: 15.97 kB / 0.9558 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.007049, allocations: 10.66 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.008074, allocations: 1.489 MB / 0.9573 GB, free: 12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.008122, allocations: 67.25 kB / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.008146, allocations: 0 / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.008182, allocations: 20.48 kB / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.008183, allocations: 0 / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.02447, allocations: 2.722 MB / 0.96 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.615/6.639, allocations: 0 / 0.96 GB, free: 9.34 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 & /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 --stepSize=0.0004 --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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.664555213414133]