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.001037/0.001037, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009914/0.0009914, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.059/1.059, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.087/2.087, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.755e-06/2.755e-06, allocations: 4 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.708e-05, allocations: 5.344 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001756/0.001773, allocations: 0.8208 MB / 0.8802 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.001912, allocations: 39.78 kB / 0.8802 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.001966, allocations: 0 / 0.8802 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.002004, allocations: 8.812 kB / 0.8803 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.002089, allocations: 23.84 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.869e-05/0.002138, allocations: 17.11 kB / 0.8803 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.002247, allocations: 59.78 kB / 0.8803 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.002369, allocations: 27.98 kB / 0.8804 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.00247, allocations: 41.02 kB / 0.8804 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.002512, allocations: 19.92 kB / 0.8804 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.002529, allocations: 4 kB / 0.8804 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.002537, allocations: 5.031 kB / 0.8804 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.002561, allocations: 19.91 kB / 0.8805 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.002586, allocations: 11.94 kB / 0.8805 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.002682, allocations: 44.92 kB / 0.8805 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002684, allocations: 0 / 0.8805 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002685, allocations: 0 / 0.8805 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.002689, allocations: 2.031 kB / 0.8805 GB, free: 4.918 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.0003688/0.003058, allocations: 412.2 kB / 0.8809 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.003092, allocations: 8.031 kB / 0.8809 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.003127, allocations: 16.89 kB / 0.8809 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.003268, allocations: 140.4 kB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.003282, allocations: 14.81 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.003292, allocations: 4.375 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003408, allocations: 79.95 kB / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.003416, allocations: 192 / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.003426, allocations: 8.375 kB / 0.8812 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.003433, allocations: 384 / 0.8812 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.003473, allocations: 23.86 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.003959, allocations: 0.7231 MB / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.004064, allocations: 279.1 kB / 0.8822 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.0041, allocations: 126.9 kB / 0.8823 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.004132, allocations: 119.2 kB / 0.8824 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.004185, allocations: 156.6 kB / 0.8825 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.004186, allocations: 4.5 kB / 0.8826 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.993e-05/0.004246, allocations: 31 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.004321, allocations: 174.6 kB / 0.8827 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.004457, allocations: 203.3 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.004468, allocations: 25.7 kB / 0.883 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.004554, allocations: 176.1 kB / 0.8831 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-06/0.004561, allocations: 3.984 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.004601, allocations: 31.31 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.00474, allocations: 0.4884 MB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.00475, allocations: 8 kB / 0.8837 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.004798, allocations: 77.42 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.004887, allocations: 85.42 kB / 0.8838 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00489, allocations: 0 / 0.8838 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001333/0.005023, allocations: 85.48 kB / 0.8839 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.005037, allocations: 8 kB / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.005043, allocations: 0 / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.005055, allocations: 4 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.005113, allocations: 15.94 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.005119, allocations: 4 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.005156, allocations: 11.89 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005161, allocations: 4.25 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.000105/0.005266, allocations: 287.7 kB / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.005353, allocations: 156.8 kB / 0.8844 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.005404, allocations: 152.7 kB / 0.8845 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/0.005471, allocations: 272 kB / 0.8848 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-05/0.005559, allocations: 272.1 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/0.00567, allocations: 276 kB / 0.8853 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.005896, allocations: 492.4 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.146e-05/0.005937, allocations: 148.9 kB / 0.8859 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.005978, allocations: 152.8 kB / 0.886 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.665e-05/0.006044, allocations: 272.1 kB / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/0.006118, allocations: 268.1 kB / 0.8866 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.458e-05/0.006192, allocations: 272 kB / 0.8868 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001435/0.006336, allocations: 264.1 kB / 0.8871 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.006489, allocations: 455.9 kB / 0.8875 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.006543, allocations: 156.8 kB / 0.8877 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.00662, allocations: 268 kB / 0.8879 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.006699, allocations: 148.9 kB / 0.8881 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.006771, allocations: 272.3 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.006809, allocations: 148.9 kB / 0.8885 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.006868, allocations: 145.2 kB / 0.8886 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.006868, allocations: 4 kB / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003104/0.007178, allocations: 8 kB / 0.8886 GB, free: 12.16 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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.0001101/0.007288, allocations: 214.4 kB / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.007373, allocations: 43.52 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007376, allocations: 0 / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.007377, allocations: 0 / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.007769, allocations: 0.7028 MB / 0.8895 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.008025, allocations: 273.7 kB / 0.8898 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.008065, allocations: 59.34 kB / 0.8899 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.008102, allocations: 8.719 kB / 0.8899 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.008139, allocations: 70.2 kB / 0.8899 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/0.00814, allocations: 0 / 0.8899 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.002068/0.01021, allocations: 346.7 kB / 0.8903 GB, free: 10.39 MB / 0.8542 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.192454894538969]