Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.001853/0.001853, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002064/0.002064, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] 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 3.46/3.46, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.775e-05, allocations: 9.203 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001731/0.001759, allocations: 0.6668 MB / 0.8782 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.00288, allocations: 0.8458 MB / 0.879 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.002911, allocations: 1.062 kB / 0.879 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.002931, allocations: 3.938 kB / 0.879 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.002994, allocations: 5.516 kB / 0.879 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.003148, allocations: 17.17 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.003225, allocations: 27.42 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.297e-05/0.003298, allocations: 4 kB / 0.8791 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.003371, allocations: 13.64 kB / 0.8791 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.003408, allocations: 8 kB / 0.8791 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.003422, allocations: 0 / 0.8791 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.003459, allocations: 4 kB / 0.8791 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.003477, allocations: 12.47 kB / 0.8791 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.003498, allocations: 7.938 kB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.0036, allocations: 29.53 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003602, allocations: 0 / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003602, allocations: 0 / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.003605, allocations: 0 / 0.8791 GB, free: 4.996 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.0004643/0.00407, allocations: 360.9 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.004109, allocations: 9.375 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.004215, allocations: 4.938 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.004332, allocations: 112.6 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004343, allocations: 384 / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.004353, allocations: 4.969 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.004486, allocations: 42.91 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.004494, allocations: 192 / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.004506, allocations: 9.953 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.004509, allocations: 384 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.00462, allocations: 23.92 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.004963, allocations: 247.8 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.005076, allocations: 48.72 kB / 0.8799 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.005142, allocations: 15.75 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.00516, allocations: 0 / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.0052, allocations: 48.19 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.0052, allocations: 0 / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002682/0.005469, allocations: 61.62 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.005515, allocations: 51.41 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.005644, allocations: 173.8 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.005662, allocations: 25.7 kB / 0.8803 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.005741, allocations: 131.6 kB / 0.8804 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.005758, allocations: 9.297 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.005798, allocations: 19.36 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.006056, allocations: 0.4884 MB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.006105, allocations: 4 kB / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.006151, allocations: 20.11 kB / 0.881 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.00625, allocations: 31.67 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006251, allocations: 0 / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001335/0.006385, allocations: 49.69 kB / 0.881 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.006398, allocations: 6.344 kB / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.006404, allocations: 7.875 kB / 0.8811 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.006416, allocations: 4 kB / 0.8811 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.006483, allocations: 12.08 kB / 0.8811 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.006488, allocations: 0 / 0.8811 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.006525, allocations: 7.953 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.006529, allocations: 0 / 0.8811 GB, free: 2.801 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 0.0001044/0.006634, allocations: 152.6 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.00666, allocations: 8 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.006834, allocations: 60.92 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006835, allocations: 0 / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006838, allocations: 0 / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006841, allocations: 4.031 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.007002, allocations: 124.6 kB / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.007003, allocations: 4 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.007048, allocations: 7.984 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00705, allocations: 3.938 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.007055, allocations: 0 / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.007059, allocations: 3.938 kB / 0.8814 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00706, allocations: 0 / 0.8814 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.007285, allocations: 200 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.007293, allocations: 7.938 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007306, allocations: 8.016 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.007363, allocations: 3.938 kB / 0.8816 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.007399, allocations: 4 kB / 0.8816 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.007402, allocations: 0 / 0.8816 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003026/0.007705, allocations: 131.2 kB / 0.8818 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.007705, allocations: 0 / 0.8818 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002015/0.007907, allocations: 7.953 kB / 0.8818 GB, free: 2.012 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 0.0001064/0.008013, allocations: 91.25 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.008177, allocations: 39.61 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.008178, allocations: 0 / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.00824, allocations: 19.67 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.008485, allocations: 8.688 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.008762, allocations: 110.5 kB / 0.882 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.586e-05/0.008828, allocations: 63.2 kB / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.008856, allocations: 4 kB / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.008882, allocations: 12.62 kB / 0.8821 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.008882, allocations: 0 / 0.8821 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of Templates: time 0.002866/0.01175, allocations: 488.7 kB / 0.8826 GB, free: 1.137 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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: 8.609067348996177]