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.00132/0.00132, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001692/0.001692, allocations: 188.8 kB / 16.25 MB, free: 6.586 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.62 kB / 0.9116 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4135, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002775/0.4163, allocations: 0.8902 MB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.4165, allocations: 39.78 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.4166, allocations: 8 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.357e-05/0.4167, allocations: 7.922 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.4168, allocations: 3.938 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.293e-05/0.4169, allocations: 12 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.417, allocations: 63.84 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.4172, allocations: 39.97 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.4173, allocations: 31.8 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.4173, allocations: 27.84 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.4174, allocations: 8 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.4174, allocations: 4 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.4174, allocations: 19.92 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.4175, allocations: 35.73 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4176, allocations: 64.06 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4176, allocations: 4 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4176, allocations: 0 / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4177, allocations: 0 / 1.069 GB, free: 9.484 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.0005669/0.4182, allocations: 383.1 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4183, allocations: 8.031 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.4183, allocations: 12.78 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4186, allocations: 200.1 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4186, allocations: 8.375 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4187, allocations: 8.375 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.4189, allocations: 91.94 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4189, allocations: 192 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4189, allocations: 11.94 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4189, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.419, allocations: 35.92 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.4197, allocations: 436.5 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.4198, allocations: 41.28 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.4198, allocations: 21.84 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.4198, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.4199, allocations: 38.55 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.4199, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002055/0.4201, allocations: 57.48 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4202, allocations: 81.05 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4204, allocations: 164.9 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4204, allocations: 25.7 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.4205, allocations: 108.2 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-06/0.4205, allocations: 7.906 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.4205, allocations: 13.72 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4207, allocations: 322.8 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.4207, allocations: 8 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.4207, allocations: 17.7 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.4208, allocations: 29.72 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4208, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/0.4209, allocations: 53.55 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4209, allocations: 8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4209, allocations: 3.938 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.421, allocations: 3.984 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.4211, allocations: 8 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4211, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.4211, allocations: 11.84 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.4211, allocations: 4 kB / 1.071 GB, free: 7.043 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 9.392e-05/0.4212, allocations: 123.2 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.4213, allocations: 11.84 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.4213, allocations: 11.8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4213, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.4213, allocations: 8 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4213, allocations: 3.938 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.4218, allocations: 478.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4218, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.4218, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4218, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.4218, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4218, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4218, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.07e-05/0.4219, allocations: 85.89 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.422, allocations: 85.02 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.422, allocations: 7.984 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.4221, allocations: 3.938 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.4221, allocations: 96 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.4221, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.014e-05/0.4222, allocations: 119.2 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4222, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002026/0.4224, allocations: 15.91 kB / 1.072 GB, free: 5.988 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.0001407/0.4225, allocations: 103.3 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.4227, allocations: 16 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4227, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.4227, allocations: 7.938 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.4229, allocations: 15.92 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.4232, allocations: 183 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4235, allocations: 0.6924 MB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.4236, allocations: 12.42 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.4236, allocations: 11.44 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4236, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.003138/0.4268, allocations: 449.7 kB / 1.073 GB, free: 4.449 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