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.001843/0.001843, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 69.81 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4082, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.003044/0.4113, allocations: 0.8323 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001559/0.4115, allocations: 43.78 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.4116, allocations: 4 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.436e-05/0.4116, allocations: 11.86 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/0.4117, allocations: 3.938 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.36e-05/0.4118, allocations: 15.98 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4119, allocations: 71.72 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.4121, allocations: 43.95 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.484e-05/0.4122, allocations: 27.86 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.4123, allocations: 23.86 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.4123, allocations: 12 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.4123, allocations: 4 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.4123, allocations: 19.92 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.4124, allocations: 35.73 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.4125, allocations: 68.05 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4125, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4125, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4125, allocations: 0 / 1.069 GB, free: 9.203 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.0004686/0.413, allocations: 383.1 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4131, allocations: 12.03 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.4131, allocations: 12.83 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4133, allocations: 192.2 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4133, allocations: 8.375 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.4134, allocations: 8.312 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.4135, allocations: 97.61 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4135, allocations: 192 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4136, allocations: 11.94 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4136, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.4137, allocations: 39.97 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.4142, allocations: 436.5 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.146e-05/0.4143, allocations: 33.16 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.4143, allocations: 25.84 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.4143, allocations: 4.031 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.4144, allocations: 30.56 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4144, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.4146, allocations: 61.47 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.4146, allocations: 81.36 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4148, allocations: 164.9 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.4148, allocations: 25.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.4149, allocations: 108 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.4149, allocations: 7.906 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.4149, allocations: 13.72 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.415, allocations: 322.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.4151, allocations: 8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.4151, allocations: 17.72 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.4151, allocations: 37.58 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4151, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.505e-05/0.4152, allocations: 49.61 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4152, allocations: 8 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4153, allocations: 3.938 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4153, allocations: 4.062 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.4154, allocations: 15.92 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4154, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.4154, allocations: 11.84 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.4154, allocations: 4 kB / 1.072 GB, free: 6.75 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 8.37e-05/0.4155, allocations: 115.7 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.4155, allocations: 8 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.4156, allocations: 11.8 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4156, allocations: 7.922 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4156, allocations: 8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4156, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.416, allocations: 470.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.416, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.416, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.416, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.416, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.416, allocations: 4.062 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4161, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.153e-05/0.4161, allocations: 85.77 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.4162, allocations: 85.02 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.4162, allocations: 4 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.4163, allocations: 4 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.4163, allocations: 8.016 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.4163, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.436e-05/0.4164, allocations: 121.9 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4164, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001877/0.4166, allocations: 11.91 kB / 1.072 GB, free: 5.707 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.0001185/0.4167, allocations: 99.25 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/0.4168, allocations: 19.94 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4168, allocations: 4.125 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.4168, allocations: 4 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.417, allocations: 13.31 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.4173, allocations: 166.9 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.4176, allocations: 0.6923 MB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.4177, allocations: 8.422 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.4177, allocations: 11.44 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4177, allocations: 3.938 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.002626/0.4203, allocations: 444.6 kB / 1.074 GB, free: 4.191 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