Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.0008611/0.0008611, 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.0008608/0.0008608, allocations: 169.9 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.8783/0.8783, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.61/1.61, 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.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.606e-06/3.606e-06, allocations: 4 kB / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.424e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001455/0.001479, allocations: 0.66 MB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007326/0.002212, allocations: 0.8393 MB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.002241, allocations: 0 / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.002265, allocations: 0 / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.002317, allocations: 0 / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.002523, allocations: 19.91 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.002586, allocations: 23.94 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.002669, allocations: 7.984 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.002728, allocations: 15.94 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.003e-05/0.002758, allocations: 7.984 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.00277, allocations: 0 / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.654e-05/0.002807, allocations: 4 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.002822, allocations: 11.98 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.002839, allocations: 7.922 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.452e-05/0.002923, allocations: 23.97 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.002925, allocations: 0 / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002926, allocations: 0 / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.00293, allocations: 0 / 0.9522 GB, free: 1.781 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003009/0.003231, allocations: 266.3 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.003268, allocations: 12.03 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.003298, allocations: 30.75 kB / 0.9524 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.003362, allocations: 8.891 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.746e-05/0.00343, allocations: 109.8 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.00344, allocations: 8.25 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.003448, allocations: 4.375 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.00356, allocations: 50.23 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003566, allocations: 192 / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003573, allocations: 384 / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003578, allocations: 8.125 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.003663, allocations: 31.97 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.003911, allocations: 212.1 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.003986, allocations: 38.5 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.004028, allocations: 16.91 kB / 0.9529 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.004048, allocations: 7.969 kB / 0.9529 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.004067, allocations: 42.5 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.004068, allocations: 0 / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.004285, allocations: 81.64 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.00431, allocations: 55.34 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.004361, allocations: 101.8 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.004368, allocations: 25.7 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.004399, allocations: 84.09 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.004412, allocations: 4 kB / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.004437, allocations: 21.83 kB / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.004502, allocations: 314.8 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.004542, allocations: 19.98 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.004574, allocations: 11.98 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.004648, allocations: 40.81 kB / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.004649, allocations: 0 / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.004753, allocations: 73.69 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.004766, allocations: 10.33 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004771, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.004781, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.004831, allocations: 8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.004834, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.004857, allocations: 11.92 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.00486, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 4.605e-05/0.004907, allocations: 117.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.004919, allocations: 3.938 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.005043, allocations: 72.95 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005044, allocations: 4 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.005047, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.00505, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/0.005138, allocations: 124.8 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005139, allocations: 3.984 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.005166, allocations: 12.03 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.005169, allocations: 7.875 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.005174, allocations: 3.938 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005174, allocations: 0 / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005175, allocations: 0 / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.005286, allocations: 155.5 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.005293, allocations: 11.89 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.005302, allocations: 3.984 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.005338, allocations: 8.031 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.005368, allocations: 11.92 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.00537, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.27e-05/0.005392, allocations: 79.28 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005392, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001464/0.005539, allocations: 4 kB / 0.9544 GB, free: 15.22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002728/0.005812, allocations: 0.6967 MB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.005925, allocations: 39.98 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.005926, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.005965, allocations: 19.98 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.00617, allocations: 4 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.006461, allocations: 130.4 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.006498, allocations: 59.47 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.006514, allocations: 4 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.006546, allocations: 16.5 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.006546, allocations: 0 / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.02081, allocations: 1.938 MB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.897, allocations: 12.5 kB / 0.9572 GB, free: 12.35 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.710252000950277]