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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001921/0.001922, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 71.08 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3997, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002715/0.4025, allocations: 0.8785 MB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001524/0.4027, allocations: 39.78 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.4027, allocations: 4 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.4028, allocations: 7.922 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.4029, allocations: 3.938 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.682e-05/0.403, allocations: 19.98 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.4031, allocations: 55.86 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.4033, allocations: 35.97 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.4033, allocations: 27.84 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.4034, allocations: 31.78 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.4034, allocations: 7.938 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.4035, allocations: 8 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.4035, allocations: 11.94 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.4035, allocations: 35.73 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.4037, allocations: 68.05 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4037, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4037, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.4037, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 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.0005135/0.4042, allocations: 383.2 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4043, allocations: 8.031 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.4043, allocations: 12.84 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4046, allocations: 192.2 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4046, allocations: 12.31 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.4046, allocations: 4.375 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.4048, allocations: 91.94 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4049, allocations: 192 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.4049, allocations: 11.94 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4049, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.405, allocations: 39.92 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.4057, allocations: 432.5 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.4058, allocations: 45.28 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4059, allocations: 25.84 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.4059, allocations: 3.984 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.4059, allocations: 30.56 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.4059, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002721/0.4062, allocations: 53.48 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.4063, allocations: 85.36 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.4065, allocations: 165.1 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4065, allocations: 25.7 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4067, allocations: 104 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.4067, allocations: 11.89 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.4068, allocations: 17.66 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.407, allocations: 322.8 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.407, allocations: 4 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.4071, allocations: 25.7 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.4071, allocations: 25.72 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4071, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001642/0.4073, allocations: 53.55 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.4073, allocations: 9.562 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4074, allocations: 7.922 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.4074, allocations: 8 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.4075, allocations: 4 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4075, allocations: 4 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.4075, allocations: 7.844 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.4075, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 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.0001241/0.4076, allocations: 113.8 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.4077, allocations: 7.906 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.4078, allocations: 23.73 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4078, allocations: 3.938 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4078, allocations: 4 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4078, allocations: 4.094 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.4084, allocations: 466.8 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.4084, allocations: 7.922 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.4085, allocations: 0 / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4085, allocations: 4 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4085, allocations: 0 / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4085, allocations: 4.062 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4085, allocations: 0 / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.986e-05/0.4086, allocations: 77.83 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4088, allocations: 89.02 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4088, allocations: 3.984 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.4088, allocations: 4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.4088, allocations: 4.031 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.4088, allocations: 3.938 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.4089, allocations: 121.5 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.409, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002173/0.4092, allocations: 11.91 kB / 1.072 GB, free: 6.082 MB / 0.8262 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.0001943/0.4094, allocations: 95.25 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.4095, allocations: 16 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4095, allocations: 4.125 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.4095, allocations: 11.94 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.4098, allocations: 15.92 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.4102, allocations: 178.6 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.4106, allocations: 0.6887 MB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.4107, allocations: 8.422 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.4107, allocations: 11.44 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/0.4107, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of Templates: time 0.003049/0.4138, allocations: 440.5 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) 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) Reference file matches