Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, 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.002354/0.002355, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.476/2.476, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001522, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9366/0.9382, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002639/0.9409, allocations: 0.8199 MB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.9411, allocations: 41.12 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.9412, allocations: 5 kB / 0.9504 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.971e-05/0.9412, allocations: 11.81 kB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.9413, allocations: 5.188 kB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.668e-05/0.9414, allocations: 22.94 kB / 0.9505 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.9415, allocations: 56.55 kB / 0.9505 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.9417, allocations: 48.92 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.9418, allocations: 22.5 kB / 0.9506 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.9419, allocations: 32.44 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.9419, allocations: 6.469 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.942, allocations: 5.625 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.942, allocations: 14.45 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.942, allocations: 35.33 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.9422, allocations: 70.84 kB / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9422, allocations: 0 / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9422, allocations: 0 / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.9422, allocations: 7.938 kB / 0.9508 GB, free: 8.293 MB / 0.7169 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.0005125/0.9427, allocations: 379 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.9428, allocations: 9.219 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.9429, allocations: 8.875 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.9431, allocations: 191.2 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.9431, allocations: 7.094 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.9432, allocations: 4.938 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.9434, allocations: 102.1 kB / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.9434, allocations: 192 / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.9434, allocations: 5.312 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.9434, allocations: 1.375 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.9435, allocations: 40.55 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.9441, allocations: 436.5 kB / 0.9519 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.524e-05/0.9442, allocations: 37.06 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.9442, allocations: 28.23 kB / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.9443, allocations: 0 / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.9443, allocations: 35.72 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.9443, allocations: 0 / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001941/0.9445, allocations: 55.52 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.9445, allocations: 78.36 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.9447, allocations: 164.4 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.9447, allocations: 25.7 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.9448, allocations: 108.8 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.9448, allocations: 9.344 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.9448, allocations: 24.83 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.9449, allocations: 321.8 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.9449, allocations: 6.75 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.9449, allocations: 19.61 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.945, allocations: 33.34 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.945, allocations: 1.125 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.604e-05/0.9451, allocations: 58.12 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9451, allocations: 7.844 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9451, allocations: 3.938 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9451, allocations: 5.344 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.9452, allocations: 4.844 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.9452, allocations: 1.625 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.9452, allocations: 1.625 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.9453, allocations: 9.266 kB / 0.9529 GB, free: 6.121 MB / 0.7169 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 6.37e-05/0.9453, allocations: 114.9 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.9454, allocations: 7 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.9454, allocations: 17.98 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9454, allocations: 1.25 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9454, allocations: 1.094 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.9454, allocations: 0 / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.9457, allocations: 475.1 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9457, allocations: 4.062 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.9457, allocations: 2.875 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9458, allocations: 1.375 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.9458, allocations: 1.406 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9458, allocations: 0 / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9458, allocations: 1.406 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.384e-05/0.9458, allocations: 89.39 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.9459, allocations: 96.03 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.9459, allocations: 1.094 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.9459, allocations: 1.188 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.9459, allocations: 1.594 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.946, allocations: 1.531 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.467e-05/0.946, allocations: 119.9 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.946, allocations: 0 / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001848/0.9462, allocations: 8 kB / 0.9538 GB, free: 5.176 MB / 0.7169 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.0001018/0.9463, allocations: 110 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.324e-05/0.9464, allocations: 21.92 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9464, allocations: 0 / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.9464, allocations: 4.188 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.9466, allocations: 10.66 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.947, allocations: 158.1 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.9472, allocations: 0.6991 MB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.9472, allocations: 8.438 kB / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.9472, allocations: 11.66 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9472, allocations: 0 / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.002758/0.95, allocations: 461.6 kB / 0.9552 GB, free: 3.949 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches