Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001799/0.001799, allocations: 110 kB / 18.93 MB, free: 2.945 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.00212/0.00212, allocations: 194.4 kB / 22.23 MB, free: 5.156 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.89 kB / 1.062 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9954/0.9974, allocations: 160.8 MB / 1.218 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002402/0.9998, allocations: 0.6845 MB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001214/1.001, allocations: 0.8053 MB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/1.001, allocations: 0 / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/1.001, allocations: 3.938 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.27e-05/1.001, allocations: 9.234 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/1.001, allocations: 9.391 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/1.001, allocations: 21.55 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/1.001, allocations: 6.375 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/1.002, allocations: 15.91 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/1.002, allocations: 9.891 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/1.002, allocations: 2.375 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/1.002, allocations: 6.375 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/1.002, allocations: 3.938 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/1.002, allocations: 10.39 kB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.496e-05/1.002, allocations: 23.92 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.002, allocations: 1.312 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/1.002, allocations: 0 / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.002, allocations: 0 / 1.22 GB, free: 2.391 MB / 0.92 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.0006362/1.002, allocations: 339 kB / 1.22 GB, free: 2.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.002, allocations: 10.28 kB / 1.22 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/1.002, allocations: 4.938 kB / 1.22 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/1.003, allocations: 166.8 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/1.003, allocations: 384 / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.003, allocations: 6.875 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/1.003, allocations: 44.36 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.003, allocations: 5.375 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/1.003, allocations: 7.938 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.003, allocations: 3.938 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/1.003, allocations: 38.95 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/1.004, allocations: 240.3 kB / 1.221 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.004, allocations: 39.83 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.853e-05/1.004, allocations: 21.66 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.004, allocations: 5.281 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/1.004, allocations: 38.48 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.004, allocations: 0 / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003848/1.004, allocations: 80.58 kB / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/1.004, allocations: 52.53 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.005, allocations: 102.7 kB / 1.221 GB, free: 1.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/1.005, allocations: 31.05 kB / 1.221 GB, free: 1.109 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/1.005, allocations: 88.06 kB / 1.221 GB, free: 1.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/1.005, allocations: 5.328 kB / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/1.005, allocations: 16.5 kB / 1.221 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.005, allocations: 310.8 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/1.005, allocations: 17.27 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/1.005, allocations: 25.94 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/1.005, allocations: 35.64 kB / 1.222 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.005, allocations: 0 / 1.222 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/1.005, allocations: 72.36 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.005, allocations: 5.219 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.005, allocations: 0 / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.005, allocations: 5.125 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.006, allocations: 9.328 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.006, allocations: 1.125 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/1.006, allocations: 7.406 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/1.006, allocations: 1.219 kB / 1.222 GB, free: 0.5742 MB / 0.92 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 0.0001183/1.006, allocations: 126.2 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/1.006, allocations: 1.219 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/1.006, allocations: 74.88 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.006, allocations: 0.9375 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.006, allocations: 4 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.006, allocations: 1.094 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/1.006, allocations: 158.3 kB / 1.222 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.006, allocations: 0 / 1.222 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/1.006, allocations: 13.14 kB / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.006, allocations: 1.156 kB / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.006, allocations: 0 / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.006, allocations: 5.156 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.006, allocations: 0 / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/1.007, allocations: 167.9 kB / 1.222 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/1.007, allocations: 81.06 kB / 1.222 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.007, allocations: 5.297 kB / 1.222 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/1.007, allocations: 7.406 kB / 1.222 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/1.007, allocations: 5.203 kB / 1.222 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.007, allocations: 1.281 kB / 1.222 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.027e-05/1.007, allocations: 77.66 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.007, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002358/1.007, allocations: 4.438 kB / 1.223 GB, free: 15.84 MB / 0.9356 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.0001469/1.007, allocations: 100.5 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002308/1.007, allocations: 40.89 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.007, allocations: 4.906 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/1.008, allocations: 18.39 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/1.008, allocations: 10.97 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/1.008, allocations: 105.3 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.009, allocations: 0.68 MB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.217e-05/1.009, allocations: 1.062 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/1.009, allocations: 8.531 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/1.009, allocations: 1.062 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of Templates: time 0.003072/1.012, allocations: 456 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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: 9.355336944572628]