Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001733/0.001733, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00206/0.00206, allocations: 165.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.996/2.996, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.811e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001908/0.001936, allocations: 0.7947 MB / 0.9822 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/0.002055, allocations: 39.78 kB / 0.9822 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.002106, allocations: 0 / 0.9822 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.002145, allocations: 11.86 kB / 0.9823 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.002237, allocations: 19.88 kB / 0.9823 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.756e-05/0.002284, allocations: 11.98 kB / 0.9823 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.0024, allocations: 63.78 kB / 0.9824 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.002567, allocations: 39.95 kB / 0.9824 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.002649, allocations: 31.92 kB / 0.9824 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.00271, allocations: 23.84 kB / 0.9824 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.002732, allocations: 4 kB / 0.9824 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.002744, allocations: 8 kB / 0.9825 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.00277, allocations: 19.91 kB / 0.9825 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.002802, allocations: 15.94 kB / 0.9825 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.002929, allocations: 83.62 kB / 0.9826 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.002933, allocations: 0 / 0.9826 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002933, allocations: 0 / 0.9826 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.002938, allocations: 0 / 0.9826 GB, free: 9.73 MB / 0.8887 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.0004408/0.003379, allocations: 302 kB / 0.9829 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.003416, allocations: 8.031 kB / 0.9829 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.003455, allocations: 8.891 kB / 0.9829 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.003656, allocations: 141.5 kB / 0.983 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.003671, allocations: 8.375 kB / 0.983 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.003686, allocations: 8.375 kB / 0.983 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.003861, allocations: 97.73 kB / 0.9831 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.00387, allocations: 192 / 0.9831 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.003883, allocations: 4.375 kB / 0.9831 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.00389, allocations: 4.375 kB / 0.9831 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.00397, allocations: 35.86 kB / 0.9832 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.004484, allocations: 364.4 kB / 0.9835 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.004554, allocations: 37.34 kB / 0.9835 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.004593, allocations: 21.77 kB / 0.9836 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.004602, allocations: 0 / 0.9836 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.004644, allocations: 42.55 kB / 0.9836 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004645, allocations: 3.938 kB / 0.9836 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001724/0.004817, allocations: 45.64 kB / 0.9837 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.004879, allocations: 77.11 kB / 0.9837 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.005009, allocations: 137.7 kB / 0.9839 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.005026, allocations: 25.7 kB / 0.9839 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.005097, allocations: 104 kB / 0.984 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.005108, allocations: 11.95 kB / 0.984 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.00514, allocations: 17.66 kB / 0.984 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.005275, allocations: 323.1 kB / 0.9843 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.005292, allocations: 4 kB / 0.9843 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.005317, allocations: 17.72 kB / 0.9843 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.005362, allocations: 33.66 kB / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005363, allocations: 0 / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.555e-05/0.005449, allocations: 57.58 kB / 0.9844 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.005463, allocations: 4 kB / 0.9844 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005467, allocations: 0 / 0.9844 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.005481, allocations: 4.062 kB / 0.9844 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.005541, allocations: 8 kB / 0.9844 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.005548, allocations: 3.938 kB / 0.9844 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.005573, allocations: 3.984 kB / 0.9844 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.005579, allocations: 4 kB / 0.9844 GB, free: 7.59 MB / 0.8887 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 8.734e-05/0.005666, allocations: 113.8 kB / 0.9846 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.005706, allocations: 3.953 kB / 0.9846 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.005729, allocations: 11.47 kB / 0.9846 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.00573, allocations: 3.938 kB / 0.9846 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.005735, allocations: 0 / 0.9846 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.005741, allocations: 7.938 kB / 0.9846 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.006135, allocations: 410.5 kB / 0.985 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006136, allocations: 3.938 kB / 0.985 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.006153, allocations: 4 kB / 0.985 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006155, allocations: 0 / 0.985 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.006165, allocations: 7.938 kB / 0.985 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006166, allocations: 0 / 0.985 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006167, allocations: 0 / 0.985 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.006253, allocations: 73.94 kB / 0.9851 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.006275, allocations: 8.047 kB / 0.9851 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.006291, allocations: 15.86 kB / 0.9851 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.006307, allocations: 0 / 0.9851 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.006326, allocations: 8 kB / 0.9851 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.006327, allocations: 3.938 kB / 0.9851 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.006396, allocations: 98.52 kB / 0.9852 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.006396, allocations: 0 / 0.9852 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001865/0.006582, allocations: 8 kB / 0.9852 GB, free: 6.75 MB / 0.8887 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.0001131/0.006695, allocations: 99.78 kB / 0.9853 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.39e-05/0.006779, allocations: 19.98 kB / 0.9853 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.006781, allocations: 0 / 0.9853 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.006792, allocations: 7.938 kB / 0.9853 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.006938, allocations: 4 kB / 0.9853 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.007291, allocations: 166.6 kB / 0.9855 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.00737, allocations: 79.31 kB / 0.9856 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.007401, allocations: 8.25 kB / 0.9856 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.007427, allocations: 8.5 kB / 0.9856 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.007427, allocations: 3.938 kB / 0.9856 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of Templates: time 0.003024/0.01045, allocations: 345.7 kB / 0.9859 GB, free: 5.965 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.41460744291544]