Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001133/0.001133, allocations: 76.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.001283/0.001283, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8884/0.8884, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9823 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.042e-05, allocations: 2.281 kB / 0.9823 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001167/0.001187, allocations: 0.6629 MB / 0.9829 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.002088, allocations: 0.8392 MB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.002118, allocations: 4 kB / 0.9837 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.002144, allocations: 3.938 kB / 0.9837 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.002197, allocations: 0 / 0.9837 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.002371, allocations: 15.98 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.002435, allocations: 23.86 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.00253, allocations: 8 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.002593, allocations: 11.98 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.002627, allocations: 11.92 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.002641, allocations: 0 / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.002681, allocations: 8 kB / 0.9838 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.002694, allocations: 7.984 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.002712, allocations: 8 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.485e-05/0.002807, allocations: 19.91 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.002811, allocations: 3.984 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.272e-06/0.002812, allocations: 4 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.002815, allocations: 3.938 kB / 0.9839 GB, free: 344 kB / 0.9323 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.000328/0.003143, allocations: 258.3 kB / 0.9841 GB, free: 52 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.003178, allocations: 12.03 kB / 0.9841 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.003256, allocations: 8.828 kB / 0.9841 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.00334, allocations: 109.8 kB / 0.9842 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.003352, allocations: 8.375 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.003359, allocations: 384 / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.003491, allocations: 58.16 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003499, allocations: 192 / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.003508, allocations: 384 / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003513, allocations: 384 / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.935e-05/0.003602, allocations: 39.89 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.003844, allocations: 188.6 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.003921, allocations: 38.56 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.003966, allocations: 28.89 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.003985, allocations: 3.938 kB / 0.9846 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.004003, allocations: 30.56 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004004, allocations: 0 / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002166/0.004221, allocations: 89.67 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.00425, allocations: 51.41 kB / 0.9847 GB, free: 15.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.004302, allocations: 97.86 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.004312, allocations: 29.7 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.004345, allocations: 84.09 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.004368, allocations: 3.984 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.004392, allocations: 13.72 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.004463, allocations: 314.8 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.004505, allocations: 11.98 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.004542, allocations: 31.94 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.00462, allocations: 32.83 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.004622, allocations: 4 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/0.004723, allocations: 65.61 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.004736, allocations: 8 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.004742, allocations: 3.938 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.004758, allocations: 4.094 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.004813, allocations: 7.984 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.004818, allocations: 3.938 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.004839, allocations: 4 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.004845, allocations: 4 kB / 0.9854 GB, free: 14.54 MB / 0.948 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 5.112e-05/0.004896, allocations: 113.8 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.004908, allocations: 0 / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.005038, allocations: 80.89 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00504, allocations: 0 / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005043, allocations: 0 / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.005045, allocations: 0 / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.87e-05/0.005124, allocations: 101.3 kB / 0.9857 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.005126, allocations: 7.922 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.005148, allocations: 8 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.00515, allocations: 0 / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.005157, allocations: 4 kB / 0.9857 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005158, allocations: 3.938 kB / 0.9857 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005159, allocations: 0 / 0.9857 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.005279, allocations: 171.5 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.00529, allocations: 3.953 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.0053, allocations: 3.984 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.005338, allocations: 7.938 kB / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.005368, allocations: 3.984 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005372, allocations: 4 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.555e-05/0.005397, allocations: 79.47 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005398, allocations: 0 / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001383/0.005536, allocations: 8.031 kB / 0.986 GB, free: 13.89 MB / 0.948 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 7.172e-05/0.005608, allocations: 95.25 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.005729, allocations: 35.95 kB / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005731, allocations: 0 / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.00577, allocations: 23.92 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.005959, allocations: 8.266 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.006184, allocations: 130.5 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.006226, allocations: 63.34 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.006253, allocations: 8.5 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.006253, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of Templates: time 0.001365/0.007618, allocations: 0.564 MB / 0.9869 GB, free: 12.91 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.480331525206566]