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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 104.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.537/2.537, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8104, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001901/0.8123, allocations: 0.8192 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.8125, allocations: 43.78 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.8125, allocations: 3.938 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.8126, allocations: 7.875 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.8127, allocations: 11.88 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.796e-05/0.8127, allocations: 23.97 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.8128, allocations: 59.84 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.813, allocations: 43.92 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.813, allocations: 27.91 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.8131, allocations: 27.8 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.8131, allocations: 8 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.8131, allocations: 4 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.8131, allocations: 23.86 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.8132, allocations: 31.81 kB / 1.21 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.8133, allocations: 75.69 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8133, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8133, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.8133, allocations: 0 / 1.21 GB, free: 12.41 MB / 0.9356 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.0003839/0.8137, allocations: 384.8 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.8138, allocations: 8.031 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.8138, allocations: 8.844 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.814, allocations: 200.1 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.814, allocations: 8.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.814, allocations: 8.359 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.8142, allocations: 89.67 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.8142, allocations: 4.188 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.8142, allocations: 7.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.8142, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.97e-05/0.8143, allocations: 39.92 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.8148, allocations: 432.5 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.703e-05/0.8149, allocations: 49.28 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.8149, allocations: 21.84 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.8149, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.815, allocations: 30.56 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.815, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.8151, allocations: 61.69 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.8152, allocations: 85.08 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.8153, allocations: 160.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.8153, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.8154, allocations: 104 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.8154, allocations: 7.891 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.8155, allocations: 21.66 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.8156, allocations: 322.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.8156, allocations: 8 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.8156, allocations: 17.72 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.8157, allocations: 25.72 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8157, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.915e-05/0.8158, allocations: 57.53 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8158, allocations: 8 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8158, allocations: 8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8158, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.8159, allocations: 4 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.8159, allocations: 4 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.8159, allocations: 3.906 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.8159, allocations: 7.938 kB / 1.212 GB, free: 9.98 MB / 0.9356 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 6.843e-05/0.816, allocations: 117.8 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.8161, allocations: 7.906 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.8161, allocations: 15.81 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8161, allocations: 4 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8161, allocations: 4 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8161, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.8165, allocations: 470.8 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8165, allocations: 4 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.8165, allocations: 7.984 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8165, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.8165, allocations: 64 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8165, allocations: 4 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8166, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.8166, allocations: 77.84 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.8167, allocations: 92.94 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.8167, allocations: 7.938 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.8167, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.8168, allocations: 4.031 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.8168, allocations: 0 / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.8168, allocations: 121.3 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8169, allocations: 0 / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000189/0.817, allocations: 11.91 kB / 1.213 GB, free: 8.934 MB / 0.9356 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 9.957e-05/0.8172, allocations: 99.23 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.8172, allocations: 16 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8172, allocations: 8.062 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.8173, allocations: 8 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.8174, allocations: 11.94 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.8177, allocations: 188.4 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.818, allocations: 0.6924 MB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.818, allocations: 15.56 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.818, allocations: 0 / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of Templates: time 0.002101/0.8201, allocations: 0.8716 MB / 1.214 GB, free: 6.953 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches