Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001257/0.001257, allocations: 92.22 kB / 19.65 MB, free: 276 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.001181/0.001181, allocations: 169 kB / 23.02 MB, free: 1.551 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.045/1.045, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.129/2.129, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.262e-05, allocations: 4.906 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002351/0.002384, allocations: 0.834 MB / 0.879 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.002539, allocations: 40.11 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.002598, allocations: 0 / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.002645, allocations: 15.69 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.002734, allocations: 19.91 kB / 0.8791 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.244e-05/0.002786, allocations: 11.98 kB / 0.8791 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.002902, allocations: 59.84 kB / 0.8791 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.003046, allocations: 31.97 kB / 0.8792 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.003143, allocations: 39.84 kB / 0.8792 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.003207, allocations: 19.91 kB / 0.8792 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.003229, allocations: 4 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.00324, allocations: 8 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.003261, allocations: 11.92 kB / 0.8792 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.003296, allocations: 24.86 kB / 0.8793 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.003411, allocations: 47.77 kB / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.003414, allocations: 0 / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003415, allocations: 1.031 kB / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.003422, allocations: 0 / 0.8793 GB, free: 5.176 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.00044/0.003862, allocations: 405.4 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.003904, allocations: 8.031 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.003952, allocations: 20.88 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.004144, allocations: 133.5 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.004158, allocations: 4.375 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.004175, allocations: 8.375 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.00432, allocations: 92.95 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.004332, allocations: 192 / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.004344, allocations: 4.969 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.004353, allocations: 384 / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.004421, allocations: 33.14 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.004927, allocations: 462.4 kB / 0.8804 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.291e-05/0.00499, allocations: 62.22 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.005027, allocations: 25.39 kB / 0.8805 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.005034, allocations: 0 / 0.8805 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.005059, allocations: 33.39 kB / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.00506, allocations: 0 / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.005225, allocations: 46.98 kB / 0.8806 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.005264, allocations: 77.11 kB / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.005395, allocations: 194.7 kB / 0.8809 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.005407, allocations: 25.7 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.005483, allocations: 158.7 kB / 0.881 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.005493, allocations: 12.48 kB / 0.881 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.005528, allocations: 19.36 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.005664, allocations: 0.4895 MB / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.005678, allocations: 0 / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.005704, allocations: 27.36 kB / 0.8816 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/0.005746, allocations: 30.78 kB / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005748, allocations: 0 / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.178e-05/0.00583, allocations: 53.59 kB / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.005848, allocations: 11.98 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.005853, allocations: 0 / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.005873, allocations: 4 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.005935, allocations: 4.844 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.005943, allocations: 7.938 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.005964, allocations: 0 / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.005968, allocations: 0.5938 kB / 0.8817 GB, free: 2.523 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.72e-05/0.006046, allocations: 160.9 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.006084, allocations: 11.95 kB / 0.8818 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.006117, allocations: 11.45 kB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006119, allocations: 0 / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.006123, allocations: 0 / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.006127, allocations: 7.938 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.006509, allocations: 0.5383 MB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006511, allocations: 3.938 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.006532, allocations: 4 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006535, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.006542, allocations: 7.938 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.006544, allocations: 4 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006545, allocations: 4 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.006627, allocations: 88.08 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.006646, allocations: 3.953 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.006661, allocations: 7.938 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.006675, allocations: 0 / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.006691, allocations: 96 / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.006695, allocations: 3.984 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.006761, allocations: 143.2 kB / 0.8826 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.006761, allocations: 0 / 0.8826 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000223/0.006984, allocations: 19.97 kB / 0.8827 GB, free: 1.422 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.0001025/0.007086, allocations: 103.2 kB / 0.8828 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.58e-05/0.007182, allocations: 15.69 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.007184, allocations: 0 / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.007197, allocations: 19.62 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.007365, allocations: 3.938 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.007689, allocations: 170.9 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.007731, allocations: 63.34 kB / 0.883 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.007761, allocations: 4 kB / 0.883 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.007788, allocations: 12.5 kB / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of SimCode: time 1.072e-06/0.007789, allocations: 0 / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of Templates: time 0.002482/0.01027, allocations: 347.1 kB / 0.8834 GB, free: 0.6211 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.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.579411890823394]