Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001526/0.001526, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001617/0.001617, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.41 kB / 0.814 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3036, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002098/0.3057, allocations: 0.8287 MB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.3058, allocations: 43.72 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3059, allocations: 7.938 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.3059, allocations: 11.86 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.306, allocations: 11.88 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.415e-05/0.3061, allocations: 15.98 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3062, allocations: 63.84 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.3064, allocations: 43.95 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.3065, allocations: 19.94 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.3065, allocations: 31.78 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3065, allocations: 7.938 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.3066, allocations: 8 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.3066, allocations: 11.94 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.3066, allocations: 35.8 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.3068, allocations: 75.7 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3068, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3068, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3068, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 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.0003938/0.3072, allocations: 383.1 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3072, allocations: 8.031 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3073, allocations: 8.844 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3075, allocations: 200.1 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3075, allocations: 12.36 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3075, allocations: 4.375 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3077, allocations: 97.67 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3077, allocations: 192 / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3077, allocations: 11.94 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3077, allocations: 0 / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.3078, allocations: 31.98 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.3083, allocations: 440.6 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.198e-05/0.3083, allocations: 33.16 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.3084, allocations: 21.83 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.3084, allocations: 8 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3084, allocations: 38.58 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3084, allocations: 0 / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.3086, allocations: 53.48 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3087, allocations: 85.09 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3088, allocations: 160 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3088, allocations: 29.95 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.3089, allocations: 108 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.3089, allocations: 7.906 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3089, allocations: 21.64 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3091, allocations: 314.8 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.3091, allocations: 11.98 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.3091, allocations: 17.72 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.3092, allocations: 33.66 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3092, allocations: 4 kB / 0.9543 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.732e-05/0.3092, allocations: 53.59 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3093, allocations: 8 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3093, allocations: 3.938 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3093, allocations: 0 / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.3093, allocations: 4 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3094, allocations: 3.938 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.3094, allocations: 15.91 kB / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3094, allocations: 7.938 kB / 0.9544 GB, free: 4.371 MB / 0.7325 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 7.49e-05/0.3095, allocations: 111.8 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.3095, allocations: 7.906 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.3096, allocations: 19.8 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3096, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3096, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3096, allocations: 4 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.3099, allocations: 470.8 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.31, allocations: 4 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.31, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.31, allocations: 4 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.31, allocations: 0 / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.31, allocations: 0 / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.31, allocations: 3.984 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.979e-05/0.3101, allocations: 81.84 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.3102, allocations: 93 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3102, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.3102, allocations: 4 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.3102, allocations: 0 / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.3102, allocations: 0 / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.951e-05/0.3103, allocations: 122.5 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3103, allocations: 4.031 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001839/0.3105, allocations: 8 kB / 0.9553 GB, free: 3.344 MB / 0.7325 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.0001047/0.3106, allocations: 99.25 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.3107, allocations: 23.92 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3107, allocations: 0 / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-06/0.3107, allocations: 4 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3109, allocations: 11.94 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.3112, allocations: 167 kB / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3114, allocations: 0.6961 MB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.3115, allocations: 4.438 kB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.3115, allocations: 11.44 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3115, allocations: 0 / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of Templates: time 0.002439/0.314, allocations: 460.6 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches