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.0008486/0.0008486, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008612/0.0008612, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.837/0.837, allocations: 177.1 MB / 203.5 MB, free: 5.617 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.627/1.627, allocations: 359 MB / 0.6044 GB, free: 11.1 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.33e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001149/0.001173, allocations: 0.6716 MB / 0.9525 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.001882, allocations: 0.8393 MB / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.001912, allocations: 0 / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.001937, allocations: 0 / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.001996, allocations: 15.86 kB / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.002166, allocations: 8 kB / 0.9533 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.002237, allocations: 19.92 kB / 0.9533 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.00233, allocations: 8 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.002397, allocations: 11.98 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.447e-05/0.002431, allocations: 3.984 kB / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.002445, allocations: 4 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.002484, allocations: 15.98 kB / 0.9534 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.002497, allocations: 3.938 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.002513, allocations: 8 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.745e-05/0.00261, allocations: 23.89 kB / 0.9534 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002612, allocations: 0 / 0.9534 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002613, allocations: 0 / 0.9534 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.002616, allocations: 4 kB / 0.9534 GB, free: 1.273 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.0003183/0.002935, allocations: 258.3 kB / 0.9536 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.002968, allocations: 8.031 kB / 0.9537 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.003037, allocations: 4.938 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.908e-05/0.003116, allocations: 121.7 kB / 0.9538 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.003134, allocations: 384 / 0.9538 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.003142, allocations: 4.312 kB / 0.9538 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.003263, allocations: 54.17 kB / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.00327, allocations: 192 / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003278, allocations: 384 / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.003283, allocations: 384 / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.003371, allocations: 39.89 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.003612, allocations: 188.5 kB / 0.954 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.003691, allocations: 42.59 kB / 0.9541 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.003736, allocations: 20.91 kB / 0.9541 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.003754, allocations: 4 kB / 0.9541 GB, free: 448 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.003773, allocations: 30.56 kB / 0.9541 GB, free: 408 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.003774, allocations: 0 / 0.9541 GB, free: 408 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002234/0.003997, allocations: 93.61 kB / 0.9542 GB, free: 308 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.004026, allocations: 51.41 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.113e-05/0.004077, allocations: 101.8 kB / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.004091, allocations: 25.7 kB / 0.9544 GB, free: 100 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.004123, allocations: 88.12 kB / 0.9545 GB, free: 8 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.004139, allocations: 7.891 kB / 0.9545 GB, free: 0 / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.004174, allocations: 17.77 kB / 0.9545 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.004386, allocations: 310.8 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.004428, allocations: 19.92 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.004466, allocations: 24.02 kB / 0.9548 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.004538, allocations: 32.83 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00454, allocations: 0 / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.81e-05/0.004638, allocations: 73.55 kB / 0.9549 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.004649, allocations: 4 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.004656, allocations: 8.219 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.004667, allocations: 4 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.004717, allocations: 7.984 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.004721, allocations: 0 / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.004742, allocations: 7.984 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.004748, allocations: 3.984 kB / 0.955 GB, free: 15.47 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.893e-05/0.004797, allocations: 113.8 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.004807, allocations: 0 / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.004936, allocations: 76.91 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004937, allocations: 0 / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.004941, allocations: 0 / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.004943, allocations: 7.875 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.526e-05/0.005028, allocations: 105.3 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.005029, allocations: 0 / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.005056, allocations: 11.98 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.005057, allocations: 0 / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.005062, allocations: 3.938 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.005064, allocations: 3.938 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005065, allocations: 4.031 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.005183, allocations: 159.5 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.005189, allocations: 7.953 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.005197, allocations: 0 / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.005234, allocations: 11.92 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.005263, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.005265, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.426e-05/0.005289, allocations: 83.28 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005289, allocations: 32 / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001384/0.005427, allocations: 8 kB / 0.9556 GB, free: 14.82 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 6.936e-05/0.005497, allocations: 103.2 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.005616, allocations: 31.97 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.005617, allocations: 0 / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.005658, allocations: 19.98 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.00584, allocations: 8.109 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.00607, allocations: 134.5 kB / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.00611, allocations: 59.36 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.006131, allocations: 8.5 kB / 0.9559 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.006132, allocations: 3.938 kB / 0.9559 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.001333/0.007464, allocations: 0.5629 MB / 0.9565 GB, free: 13.84 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] 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: 6.188418351113796]