Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002342/0.002342, allocations: 85.48 kB / 19.44 MB, free: 344 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.002837/0.002837, allocations: 173.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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.434/3.434, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.595e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002448/0.002483, allocations: 0.8144 MB / 0.8783 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001808/0.002664, allocations: 40.81 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.002741, allocations: 4 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.002784, allocations: 9.188 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.00289, allocations: 8.094 kB / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.504e-05/0.002955, allocations: 23.97 kB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.003105, allocations: 59.78 kB / 0.8784 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.003252, allocations: 36.5 kB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.003378, allocations: 41.5 kB / 0.8785 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.003433, allocations: 19.91 kB / 0.8785 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.003459, allocations: 8 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.00347, allocations: 4 kB / 0.8785 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.003499, allocations: 16.42 kB / 0.8785 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.003544, allocations: 15.94 kB / 0.8785 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003699, allocations: 77.08 kB / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003701, allocations: 0 / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003702, allocations: 4 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.003707, allocations: 0.8438 kB / 0.8786 GB, free: 5.488 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.0006069/0.004314, allocations: 407.9 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.004357, allocations: 9.375 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.004417, allocations: 16.89 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.00467, allocations: 140.4 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.004687, allocations: 9.906 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.004703, allocations: 4.375 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.004889, allocations: 101.5 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.0049, allocations: 4.125 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.00491, allocations: 1.75 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.004917, allocations: 4.375 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.005011, allocations: 39.92 kB / 0.8793 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.005707, allocations: 477.5 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/0.005802, allocations: 54.12 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.005858, allocations: 31.48 kB / 0.8798 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.005871, allocations: 0 / 0.8798 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.005906, allocations: 37.42 kB / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005906, allocations: 0 / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000213/0.006119, allocations: 57.86 kB / 0.8799 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.006189, allocations: 77.11 kB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.006402, allocations: 193.8 kB / 0.8802 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.006423, allocations: 25.7 kB / 0.8802 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.006557, allocations: 162.7 kB / 0.8804 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.006572, allocations: 11.92 kB / 0.8804 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.006635, allocations: 23.38 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002697/0.006904, allocations: 496.1 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.006927, allocations: 8 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.006963, allocations: 23.36 kB / 0.8809 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.007026, allocations: 39.34 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007028, allocations: 4 kB / 0.881 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000101/0.007129, allocations: 53.64 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.007145, allocations: 4 kB / 0.881 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.00715, allocations: 0 / 0.881 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.007169, allocations: 4 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.007242, allocations: 7.938 kB / 0.881 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.007251, allocations: 3.938 kB / 0.881 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.007284, allocations: 11.94 kB / 0.881 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007289, allocations: 4.062 kB / 0.881 GB, free: 2.742 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 0.0001305/0.00742, allocations: 160.6 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.007465, allocations: 11.95 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.007497, allocations: 7.453 kB / 0.8812 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007499, allocations: 96 / 0.8812 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.007506, allocations: 4 kB / 0.8812 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.007513, allocations: 7.922 kB / 0.8812 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.008043, allocations: 0.5577 MB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.008045, allocations: 0 / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.008068, allocations: 8.062 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.008071, allocations: 0 / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.00808, allocations: 3.938 kB / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008082, allocations: 0 / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008083, allocations: 0 / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.008229, allocations: 100 kB / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.008251, allocations: 3.953 kB / 0.8819 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.008268, allocations: 7.938 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.008286, allocations: 0 / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.008305, allocations: 0 / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.00831, allocations: 4.031 kB / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001208/0.008431, allocations: 155.2 kB / 0.882 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008431, allocations: 0 / 0.882 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001867/0.008618, allocations: 8 kB / 0.882 GB, free: 1.621 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.000261/0.008879, allocations: 91.25 kB / 0.8821 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.008986, allocations: 27.62 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008988, allocations: 0 / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.00901, allocations: 15.69 kB / 0.8822 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.009175, allocations: 12.23 kB / 0.8822 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.009577, allocations: 181.4 kB / 0.8824 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.669e-05/0.009663, allocations: 79.7 kB / 0.8824 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.009696, allocations: 7.984 kB / 0.8824 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.009723, allocations: 8.5 kB / 0.8825 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/0.009724, allocations: 0 / 0.8825 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.003118/0.01284, allocations: 350.4 kB / 0.8828 GB, free: 0.7891 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.634887930005789]