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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001297/0.001297, allocations: 109 kB / 15.99 MB, free: 6.355 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.001317/0.001317, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.95 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2497, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002087/0.2519, allocations: 0.8862 MB / 0.9506 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.252, allocations: 39.78 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.2521, allocations: 0 / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.2521, allocations: 7.922 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.2522, allocations: 7.938 kB / 0.9507 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.634e-05/0.2523, allocations: 15.98 kB / 0.9507 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.2524, allocations: 55.86 kB / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2525, allocations: 47.95 kB / 0.9508 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.2526, allocations: 23.88 kB / 0.9508 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.2527, allocations: 31.78 kB / 0.9509 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2527, allocations: 7.984 kB / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.2527, allocations: 15.94 kB / 0.9509 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.2527, allocations: 11.94 kB / 0.9509 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.2528, allocations: 35.8 kB / 0.9509 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.191e-05/0.2529, allocations: 48.19 kB / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2529, allocations: 0 / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2529, allocations: 0 / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.2529, allocations: 0 / 0.951 GB, free: 8 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.0004104/0.2533, allocations: 379.2 kB / 0.9513 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2533, allocations: 12.02 kB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.2534, allocations: 8.844 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2536, allocations: 204.1 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2536, allocations: 4.375 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2536, allocations: 8.375 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2538, allocations: 91.86 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2538, allocations: 4.188 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2538, allocations: 7.938 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2538, allocations: 3.984 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.2539, allocations: 39.92 kB / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.2544, allocations: 428.6 kB / 0.9521 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.2545, allocations: 41.28 kB / 0.9522 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.2546, allocations: 21.84 kB / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.2546, allocations: 0 / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2546, allocations: 38.55 kB / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2546, allocations: 0 / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001648/0.2548, allocations: 57.48 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.2548, allocations: 77.36 kB / 0.9523 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.255, allocations: 176.3 kB / 0.9525 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.255, allocations: 25.7 kB / 0.9525 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.2551, allocations: 104 kB / 0.9526 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.2551, allocations: 3.906 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.2551, allocations: 17.72 kB / 0.9527 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2553, allocations: 322.8 kB / 0.953 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.2553, allocations: 4 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.2553, allocations: 21.72 kB / 0.953 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.2554, allocations: 25.7 kB / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2554, allocations: 0 / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.275e-05/0.2555, allocations: 57.55 kB / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2555, allocations: 8 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2555, allocations: 3.938 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2555, allocations: 0 / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.2556, allocations: 19.98 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2556, allocations: 0 / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.2556, allocations: 11.78 kB / 0.9531 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2556, allocations: 8 kB / 0.9531 GB, free: 5.547 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 8.045e-05/0.2557, allocations: 117.8 kB / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2558, allocations: 7.906 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.2558, allocations: 15.89 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2558, allocations: 7.984 kB / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2558, allocations: 0 / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2558, allocations: 4 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.2562, allocations: 466.8 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2562, allocations: 0 / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.2562, allocations: 4 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2562, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2563, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2563, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2563, allocations: 4.062 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.226e-05/0.2564, allocations: 85.83 kB / 0.9538 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.2564, allocations: 81.02 kB / 0.9539 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2564, allocations: 4 kB / 0.9539 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.2565, allocations: 3.984 kB / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.2565, allocations: 3.938 kB / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.2565, allocations: 4.031 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.2566, allocations: 125.3 kB / 0.954 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2566, allocations: 0 / 0.954 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001919/0.2568, allocations: 8 kB / 0.954 GB, free: 4.512 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.0001161/0.2569, allocations: 95.25 kB / 0.9541 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.36e-05/0.257, allocations: 16 kB / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.257, allocations: 0 / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.257, allocations: 12.06 kB / 0.9541 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.2572, allocations: 11.94 kB / 0.9541 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.2575, allocations: 208.5 kB / 0.9543 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.2578, allocations: 0.7002 MB / 0.955 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.2578, allocations: 11.44 kB / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2578, allocations: 0 / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of Templates: time 0.002168/0.26, allocations: 0.8637 MB / 0.9559 GB, free: 2.523 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 -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