Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001051/0.001051, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009317/0.0009317, 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.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.112/2.112, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.197e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001603/0.001635, allocations: 0.8234 MB / 0.879 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.001764, allocations: 40.62 kB / 0.879 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.001816, allocations: 4.75 kB / 0.879 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.001852, allocations: 7.875 kB / 0.879 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.001933, allocations: 4.688 kB / 0.8791 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.708e-05/0.00198, allocations: 27.95 kB / 0.8791 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.002088, allocations: 64.34 kB / 0.8791 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.00224, allocations: 23.98 kB / 0.8792 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.002318, allocations: 40.55 kB / 0.8792 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.002371, allocations: 12.64 kB / 0.8792 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.002393, allocations: 8 kB / 0.8792 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.0024, allocations: 7.812 kB / 0.8792 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.00242, allocations: 23.91 kB / 0.8793 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.00245, allocations: 19.92 kB / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.892e-05/0.002549, allocations: 47.7 kB / 0.8793 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.002553, allocations: 0 / 0.8793 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002554, allocations: 0 / 0.8793 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.002559, allocations: 0 / 0.8793 GB, free: 5.473 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003954/0.002954, allocations: 408.3 kB / 0.8797 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.003001, allocations: 12.03 kB / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.00305, allocations: 12.89 kB / 0.8797 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.003237, allocations: 138 kB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.003247, allocations: 4.375 kB / 0.8799 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.00326, allocations: 8.375 kB / 0.8799 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.003381, allocations: 87.73 kB / 0.88 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.003389, allocations: 1.219 kB / 0.88 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.003401, allocations: 4.375 kB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.00341, allocations: 5.5 kB / 0.88 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.003459, allocations: 31.86 kB / 0.88 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.003886, allocations: 458.4 kB / 0.8804 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.003946, allocations: 63.23 kB / 0.8805 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.003981, allocations: 24.56 kB / 0.8805 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.003989, allocations: 0 / 0.8805 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.004016, allocations: 41.38 kB / 0.8806 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.004017, allocations: 0.875 kB / 0.8806 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.00419, allocations: 43.3 kB / 0.8806 GB, free: 4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.004233, allocations: 81.11 kB / 0.8807 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.004356, allocations: 188.5 kB / 0.8809 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.004366, allocations: 29.7 kB / 0.8809 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.004441, allocations: 155.2 kB / 0.881 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.004451, allocations: 9.703 kB / 0.881 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.00449, allocations: 23.38 kB / 0.8811 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.004631, allocations: 0.4884 MB / 0.8815 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.00465, allocations: 4 kB / 0.8815 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.004673, allocations: 23.36 kB / 0.8816 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.004714, allocations: 32.5 kB / 0.8816 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.004717, allocations: 0 / 0.8816 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.255e-05/0.004789, allocations: 58.62 kB / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.004807, allocations: 5.594 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.004813, allocations: 0 / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.00483, allocations: 4 kB / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.004904, allocations: 7.984 kB / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.004913, allocations: 3.938 kB / 0.8817 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.004931, allocations: 6.75 kB / 0.8817 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004935, allocations: 4 kB / 0.8817 GB, free: 2.809 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.266e-05/0.005008, allocations: 152.6 kB / 0.8818 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.005034, allocations: 11.95 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.005065, allocations: 7.469 kB / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005067, allocations: 0 / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.005073, allocations: 5.766 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.005079, allocations: 3.938 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.005392, allocations: 0.5383 MB / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.005394, allocations: 4 kB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.005409, allocations: 4.641 kB / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.005413, allocations: 4 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.00542, allocations: 4.625 kB / 0.8824 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.005422, allocations: 7.922 kB / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005424, allocations: 0.8438 kB / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.83e-05/0.005492, allocations: 84.47 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.005515, allocations: 15.97 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.005528, allocations: 3.938 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-06/0.005537, allocations: 0 / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.005553, allocations: 4 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005556, allocations: 0 / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.00561, allocations: 143.2 kB / 0.8826 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00561, allocations: 0 / 0.8826 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001279/0.005738, allocations: 11.94 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001014/0.005839, allocations: 99.17 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.005931, allocations: 27.69 kB / 0.8828 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005933, allocations: 0 / 0.8828 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.005942, allocations: 11.62 kB / 0.8828 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.006067, allocations: 9.031 kB / 0.8828 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.006371, allocations: 170.7 kB / 0.883 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.006411, allocations: 63.28 kB / 0.883 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.006439, allocations: 4 kB / 0.883 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.006463, allocations: 12.75 kB / 0.883 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/0.006464, allocations: 0 / 0.883 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of Templates: time 0.002337/0.008801, allocations: 356.5 kB / 0.8834 GB, free: 0.9141 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.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.432609218871221]