Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.0009853/0.0009853, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002552, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009494/0.0009494, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.002046, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9598/0.9598, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08784/1.048, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.41/2.41, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2412/2.651, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.369e-05, allocations: 4.984 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001151/0.001165, allocations: 0.7264 MB / 0.8197 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.001893, allocations: 0.8702 MB / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.001921, allocations: 0 / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.001942, allocations: 0 / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.00197, allocations: 0 / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.213e-05/0.002042, allocations: 19.86 kB / 0.8206 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.002098, allocations: 19.94 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.232e-05/0.00217, allocations: 11.97 kB / 0.8206 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.002241, allocations: 15.94 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.002283, allocations: 11.98 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.002295, allocations: 0 / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.002347, allocations: 8 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.002359, allocations: 0 / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.002376, allocations: 11.94 kB / 0.8207 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.186e-05/0.002458, allocations: 11.98 kB / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.002468, allocations: 0 / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002469, allocations: 0 / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.002479, allocations: 4 kB / 0.8207 GB, free: 0.6992 MB / 0.7917 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.0003344/0.002813, allocations: 244.6 kB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.002846, allocations: 8.031 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.002978, allocations: 86.05 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.313e-05/0.003051, allocations: 109.7 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.003059, allocations: 4.375 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.003067, allocations: 384 / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.388e-05/0.003161, allocations: 54.94 kB / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.003167, allocations: 192 / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.003173, allocations: 384 / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.003178, allocations: 384 / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.003198, allocations: 7.938 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.003378, allocations: 144.3 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.003417, allocations: 26.52 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-06/0.003427, allocations: 4.859 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.00344, allocations: 8 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.003457, allocations: 30.56 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.003458, allocations: 0 / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.98e-05/0.003548, allocations: 41.67 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.003574, allocations: 59.34 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.003766, allocations: 106.7 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.003775, allocations: 29.7 kB / 0.8216 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.003806, allocations: 84.25 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.00382, allocations: 7.953 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.003844, allocations: 17.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.003912, allocations: 310.8 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.00392, allocations: 4 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.003926, allocations: 0 / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.018e-05/0.003946, allocations: 12.84 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.003948, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.019e-05/0.003988, allocations: 37.64 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.004, allocations: 4 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.004004, allocations: 4.094 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.004018, allocations: 3.984 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.004086, allocations: 15.94 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.004088, allocations: 0 / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.004102, allocations: 0 / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.004106, allocations: 8 kB / 0.8221 GB, free: 15.07 MB / 0.8073 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.193e-05/0.004148, allocations: 105.8 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.00416, allocations: 3.984 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.004217, allocations: 41 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004219, allocations: 4.031 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.004221, allocations: 3.938 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.004223, allocations: 0 / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.216e-05/0.004295, allocations: 69.89 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004296, allocations: 3.938 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.004317, allocations: 11.98 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.004325, allocations: 7.953 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.004327, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.004331, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004332, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.004334, allocations: 11.88 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.946e-05/0.004393, allocations: 131.5 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.0044, allocations: 0 / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.756e-05/0.004427, allocations: 4 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.004452, allocations: 3.984 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.004453, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.16e-05/0.004465, allocations: 12.8 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004465, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001097/0.004574, allocations: 8 kB / 0.8225 GB, free: 14.61 MB / 0.8073 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.522e-05/0.00464, allocations: 80.33 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.174e-05/0.004691, allocations: 20.84 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.004696, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.004712, allocations: 8.859 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.004849, allocations: 35.11 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.005157, allocations: 120.7 kB / 0.8227 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.604e-05/0.005183, allocations: 51.36 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.441e-05/0.005197, allocations: 4.188 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.005238, allocations: 51.38 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.005238, allocations: 0 / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.001706/0.006944, allocations: 495.2 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1773599330335855]