Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000982/0.000982, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00109/0.00109, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.082/2.082, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.8783 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.383e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001317/0.001341, allocations: 0.6806 MB / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.00216, allocations: 0.8574 MB / 0.8798 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.002193, allocations: 5.094 kB / 0.8798 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.002219, allocations: 3.938 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.002286, allocations: 5.734 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.002466, allocations: 12.64 kB / 0.8798 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.002538, allocations: 20.59 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.002625, allocations: 7.984 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.002699, allocations: 19.56 kB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.002733, allocations: 7.984 kB / 0.8798 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.002749, allocations: 4 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.082e-05/0.00279, allocations: 7.938 kB / 0.8799 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.002805, allocations: 3.984 kB / 0.8799 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.002829, allocations: 11.98 kB / 0.8799 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.00294, allocations: 15.92 kB / 0.8799 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002942, allocations: 0 / 0.8799 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.62e-07/0.002943, allocations: 0 / 0.8799 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.002947, allocations: 0 / 0.8799 GB, free: 4.941 MB / 0.8386 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.0003462/0.003293, allocations: 358.3 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.003335, allocations: 8.031 kB / 0.8802 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.00345, allocations: 8.938 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.003543, allocations: 120.5 kB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.003553, allocations: 1.375 kB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-06/0.003562, allocations: 384 / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.003686, allocations: 55.95 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003694, allocations: 4.172 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.003703, allocations: 384 / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.003711, allocations: 1.5 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.003744, allocations: 15.92 kB / 0.8804 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.00403, allocations: 239.9 kB / 0.8807 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/0.004082, allocations: 32.19 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.004103, allocations: 11.75 kB / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.00412, allocations: 6.5 kB / 0.8807 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.004141, allocations: 37.39 kB / 0.8807 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.004142, allocations: 0 / 0.8807 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.004291, allocations: 45.62 kB / 0.8808 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.004318, allocations: 51.41 kB / 0.8808 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.00439, allocations: 157.9 kB / 0.881 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.0044, allocations: 27.67 kB / 0.881 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.004447, allocations: 134.9 kB / 0.8811 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.004464, allocations: 3.953 kB / 0.8811 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.004489, allocations: 15.38 kB / 0.8812 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.004599, allocations: 0.4884 MB / 0.8816 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.004612, allocations: 7.875 kB / 0.8816 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.004624, allocations: 8.703 kB / 0.8817 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.004649, allocations: 13.34 kB / 0.8817 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004651, allocations: 0 / 0.8817 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.181e-05/0.004703, allocations: 41.66 kB / 0.8817 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.004717, allocations: 6.844 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.004722, allocations: 3.938 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.004735, allocations: 0.5 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.004798, allocations: 13.02 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.004803, allocations: 0 / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.004819, allocations: 1.594 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.004824, allocations: 7.938 kB / 0.8817 GB, free: 2.848 MB / 0.8386 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 6.9e-05/0.004893, allocations: 152.6 kB / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.004905, allocations: 0 / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.004989, allocations: 53.16 kB / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004991, allocations: 0 / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.004995, allocations: 0 / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.004999, allocations: 4 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.0051, allocations: 120.6 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005101, allocations: 0 / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.005125, allocations: 11.98 kB / 0.8821 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005126, allocations: 0 / 0.8821 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.005133, allocations: 0 / 0.8821 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005134, allocations: 3.938 kB / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005135, allocations: 0 / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.005226, allocations: 191.9 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.005233, allocations: 7.938 kB / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-06/0.005242, allocations: 0 / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.005273, allocations: 7.938 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.005307, allocations: 0 / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.00531, allocations: 4 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.005347, allocations: 123.4 kB / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005347, allocations: 0 / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001376/0.005485, allocations: 8 kB / 0.8824 GB, free: 2.102 MB / 0.8386 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.102e-05/0.005556, allocations: 95.28 kB / 0.8825 GB, free: 2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.59e-05/0.005632, allocations: 19.62 kB / 0.8825 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005633, allocations: 3.938 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.005651, allocations: 15.67 kB / 0.8825 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.005842, allocations: 4 kB / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.006098, allocations: 114.4 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.006134, allocations: 55.36 kB / 0.8827 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.006149, allocations: 4.125 kB / 0.8827 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.006173, allocations: 8.5 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of SimCode: time 1.282e-06/0.006174, allocations: 4 kB / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of Templates: time 0.002065/0.00824, allocations: 488.9 kB / 0.8832 GB, free: 1.25 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.36038794904016]