Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009854/0.0009854, allocations: 97.78 kB / 16.02 MB, free: 76 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.001501/0.001501, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.532/1.532, allocations: 223.3 MB / 241 MB, free: 5.336 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.393/2.393, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7449, allocations: 142.4 MB / 0.9557 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0009695/0.7459, allocations: 0.5417 MB / 0.9562 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.746, allocations: 41.66 kB / 0.9563 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.7461, allocations: 1.281 kB / 0.9563 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.7461, allocations: 11.86 kB / 0.9563 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.7462, allocations: 5.156 kB / 0.9563 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.396e-05/0.7463, allocations: 15.23 kB / 0.9563 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.7464, allocations: 54.33 kB / 0.9564 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.7465, allocations: 35.25 kB / 0.9564 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.7466, allocations: 24.77 kB / 0.9564 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.7466, allocations: 20.3 kB / 0.9564 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.7467, allocations: 2.219 kB / 0.9564 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-06/0.7467, allocations: 1.281 kB / 0.9564 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.7467, allocations: 10.72 kB / 0.9565 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.7467, allocations: 51.06 kB / 0.9565 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.428e-05/0.7468, allocations: 55.84 kB / 0.9566 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7468, allocations: 0 / 0.9566 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7468, allocations: 0 / 0.9566 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7468, allocations: 1.438 kB / 0.9566 GB, free: 7.176 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.0003231/0.7472, allocations: 360.3 kB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.7472, allocations: 13.22 kB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.7473, allocations: 14.12 kB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.7475, allocations: 194.1 kB / 0.9571 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.7475, allocations: 7.375 kB / 0.9571 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.7475, allocations: 5.875 kB / 0.9571 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.7477, allocations: 96.58 kB / 0.9572 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7477, allocations: 9.391 kB / 0.9572 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.7477, allocations: 7.938 kB / 0.9572 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.7477, allocations: 6.812 kB / 0.9572 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.7478, allocations: 31.23 kB / 0.9573 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.7483, allocations: 442.3 kB / 0.9577 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.7483, allocations: 40.67 kB / 0.9577 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.7484, allocations: 19.28 kB / 0.9577 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.7484, allocations: 5.281 kB / 0.9578 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.7484, allocations: 31.94 kB / 0.9578 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7484, allocations: 0 / 0.9578 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.7486, allocations: 59.11 kB / 0.9578 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.7486, allocations: 82.31 kB / 0.9579 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.7487, allocations: 159.3 kB / 0.9581 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.7487, allocations: 25.7 kB / 0.9581 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.7488, allocations: 108.5 kB / 0.9582 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-06/0.7488, allocations: 4.938 kB / 0.9582 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.7488, allocations: 14.8 kB / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.7489, allocations: 321.4 kB / 0.9585 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.7489, allocations: 3.625 kB / 0.9585 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.7489, allocations: 22.45 kB / 0.9585 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.749, allocations: 30.31 kB / 0.9586 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.749, allocations: 0 / 0.9586 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.313e-05/0.7491, allocations: 55.31 kB / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7491, allocations: 9.531 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7491, allocations: 5.125 kB / 0.9586 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7491, allocations: 0 / 0.9586 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.7492, allocations: 13.78 kB / 0.9587 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7492, allocations: 1.094 kB / 0.9587 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.7492, allocations: 6.188 kB / 0.9587 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.7492, allocations: 1.156 kB / 0.9587 GB, free: 5.012 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 5.885e-05/0.7493, allocations: 113.1 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.7493, allocations: 8.188 kB / 0.9588 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.7494, allocations: 24.86 kB / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7494, allocations: 0 / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7494, allocations: 3.938 kB / 0.9588 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7494, allocations: 0 / 0.9588 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.7497, allocations: 471 kB / 0.9593 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7497, allocations: 0 / 0.9593 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.7497, allocations: 4.844 kB / 0.9593 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7497, allocations: 4.062 kB / 0.9593 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.7497, allocations: 0 / 0.9593 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7497, allocations: 1.438 kB / 0.9593 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7498, allocations: 3.938 kB / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.245e-05/0.7498, allocations: 82.52 kB / 0.9593 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.7499, allocations: 95.84 kB / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.7499, allocations: 1.281 kB / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.7499, allocations: 5.219 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.7499, allocations: 1.406 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.7499, allocations: 1.156 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.803e-05/0.75, allocations: 121.3 kB / 0.9596 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.75, allocations: 0 / 0.9596 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001847/0.7502, allocations: 7.125 kB / 0.9596 GB, free: 4.062 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.0001005/0.7503, allocations: 96.97 kB / 0.9597 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.235e-05/0.7504, allocations: 25.64 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7504, allocations: 1.125 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.7504, allocations: 7.25 kB / 0.9597 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.7506, allocations: 8.328 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.7509, allocations: 207.3 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.751, allocations: 0.6952 MB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.7511, allocations: 11.84 kB / 0.9606 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7511, allocations: 7.875 kB / 0.9606 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of Templates: time 0.002312/0.7534, allocations: 0.8487 MB / 0.9614 GB, free: 2.586 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches