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.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.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.001113/0.001113, allocations: 92.31 kB / 16.02 MB, free: 80 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.001389/0.001389, allocations: 182.4 kB / 16.92 MB, free: 6.652 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.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.402/2.402, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004221, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.6873, allocations: 142.4 MB / 0.9557 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0009575/0.6884, allocations: 0.5374 MB / 0.9562 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001168/0.6885, allocations: 41.02 kB / 0.9563 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.6886, allocations: 1.562 kB / 0.9563 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.6886, allocations: 7.922 kB / 0.9563 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.6887, allocations: 9.234 kB / 0.9563 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.965e-05/0.6887, allocations: 15.03 kB / 0.9563 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.6888, allocations: 51.12 kB / 0.9564 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.6889, allocations: 46.73 kB / 0.9564 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.689, allocations: 16.95 kB / 0.9564 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.689, allocations: 24.67 kB / 0.9564 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.6891, allocations: 1.25 kB / 0.9564 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.6891, allocations: 6.344 kB / 0.9564 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.6891, allocations: 9.25 kB / 0.9565 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.6891, allocations: 51.98 kB / 0.9565 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.06e-05/0.6892, allocations: 51.39 kB / 0.9566 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6892, allocations: 0 / 0.9566 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6892, allocations: 0 / 0.9566 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6892, allocations: 1.438 kB / 0.9566 GB, free: 7.258 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.0003005/0.6896, allocations: 368.6 kB / 0.9569 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6896, allocations: 9.094 kB / 0.9569 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.6896, allocations: 17.19 kB / 0.9569 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.6898, allocations: 187 kB / 0.9571 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.6898, allocations: 11.38 kB / 0.9571 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.6898, allocations: 8.875 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.69, allocations: 89.75 kB / 0.9572 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.69, allocations: 192 / 0.9572 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.69, allocations: 9.438 kB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.69, allocations: 2.812 kB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.6901, allocations: 39.39 kB / 0.9573 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.6905, allocations: 437.7 kB / 0.9577 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.205e-05/0.6906, allocations: 40.66 kB / 0.9577 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.6906, allocations: 23.8 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.6907, allocations: 1.188 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.6907, allocations: 35.78 kB / 0.9578 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.6907, allocations: 0 / 0.9578 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001487/0.6908, allocations: 55.27 kB / 0.9578 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.6909, allocations: 81.36 kB / 0.9579 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.691, allocations: 165 kB / 0.9581 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-06/0.691, allocations: 26.8 kB / 0.9581 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.691, allocations: 104.6 kB / 0.9582 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.6911, allocations: 4.875 kB / 0.9582 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.6911, allocations: 14.75 kB / 0.9582 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.6911, allocations: 317.1 kB / 0.9585 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.6912, allocations: 7.688 kB / 0.9585 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.6912, allocations: 29.77 kB / 0.9585 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.6912, allocations: 22.41 kB / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6912, allocations: 0.9375 kB / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.336e-05/0.6913, allocations: 59.09 kB / 0.9586 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6913, allocations: 6.875 kB / 0.9586 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6913, allocations: 3.938 kB / 0.9586 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6914, allocations: 1.344 kB / 0.9586 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.6914, allocations: 13.09 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6914, allocations: 1.438 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.6915, allocations: 5.938 kB / 0.9587 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.6915, allocations: 1.062 kB / 0.9587 GB, free: 5.102 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 4.804e-05/0.6915, allocations: 114 kB / 0.9588 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.6916, allocations: 7.812 kB / 0.9588 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.6916, allocations: 19.05 kB / 0.9588 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6916, allocations: 3.938 kB / 0.9588 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6916, allocations: 9.25 kB / 0.9588 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6916, allocations: 1.344 kB / 0.9588 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.6919, allocations: 469.1 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6919, allocations: 0.9062 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.6919, allocations: 3.781 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6919, allocations: 0 / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.692, allocations: 5.312 kB / 0.9593 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.692, allocations: 0 / 0.9593 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.692, allocations: 5.531 kB / 0.9593 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.239e-05/0.692, allocations: 82.08 kB / 0.9593 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.6921, allocations: 92.41 kB / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.6921, allocations: 1.031 kB / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.6921, allocations: 0 / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.6921, allocations: 2.25 kB / 0.9594 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.6921, allocations: 5.156 kB / 0.9594 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.489e-05/0.6922, allocations: 119.8 kB / 0.9596 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6922, allocations: 0 / 0.9596 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001886/0.6924, allocations: 11.03 kB / 0.9596 GB, free: 4.148 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 8.142e-05/0.6925, allocations: 104.8 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.6926, allocations: 13.62 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6926, allocations: 0 / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.6926, allocations: 16.08 kB / 0.9597 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.6928, allocations: 12.34 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.693, allocations: 202.3 kB / 0.9599 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.6932, allocations: 0.7026 MB / 0.9606 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.6932, allocations: 11 kB / 0.9606 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6932, allocations: 1.812 kB / 0.9606 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of Templates: time 0.002279/0.6955, allocations: 0.8401 MB / 0.9614 GB, free: 2.676 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/jenkins1/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