Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001481/0.001481, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 59.69 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7139, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001874/0.7158, allocations: 0.816 MB / 1.084 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.565e-05/0.716, allocations: 44.42 kB / 1.084 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.716, allocations: 1.656 kB / 1.084 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.7161, allocations: 5.859 kB / 1.084 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.7161, allocations: 14.17 kB / 1.084 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.967e-05/0.7162, allocations: 16.03 kB / 1.084 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.7163, allocations: 66.73 kB / 1.084 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.7164, allocations: 45.42 kB / 1.084 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.7165, allocations: 26.22 kB / 1.084 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.7165, allocations: 26.09 kB / 1.084 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.7166, allocations: 5.969 kB / 1.084 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.7166, allocations: 5.969 kB / 1.084 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.7166, allocations: 16.72 kB / 1.084 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.7166, allocations: 29.64 kB / 1.084 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.7167, allocations: 79.41 kB / 1.084 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7167, allocations: 0.75 kB / 1.084 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7167, allocations: 3.938 kB / 1.084 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.7167, allocations: 1.219 kB / 1.084 GB, free: 0.8945 MB / 0.8262 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.0003256/0.7171, allocations: 379.5 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.7171, allocations: 9.969 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.7172, allocations: 8.969 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.7173, allocations: 192.9 kB / 1.085 GB, free: 296 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.7173, allocations: 7 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.7173, allocations: 14.69 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.7175, allocations: 94.2 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.7175, allocations: 192 / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7175, allocations: 9.062 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7175, allocations: 2.156 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/0.7176, allocations: 32.17 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.7181, allocations: 446.5 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/0.7182, allocations: 33.22 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.7182, allocations: 20.91 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.7182, allocations: 9.094 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.7183, allocations: 40.22 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.7183, allocations: 0 / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.7184, allocations: 56.7 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.7185, allocations: 79.27 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.7187, allocations: 159.3 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.7187, allocations: 25.95 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.7188, allocations: 112.4 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.7188, allocations: 5.828 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.7188, allocations: 13.94 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.719, allocations: 323.6 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.719, allocations: 8.172 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.719, allocations: 15.73 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.7191, allocations: 35.83 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7191, allocations: 0 / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.683e-05/0.7192, allocations: 53.72 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.7192, allocations: 5.891 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7192, allocations: 3.938 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.7192, allocations: 1.094 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.7193, allocations: 10.36 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7193, allocations: 1.266 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.7193, allocations: 14.38 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.7193, allocations: 1.312 kB / 1.086 GB, free: 14.81 MB / 0.8419 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.099e-05/0.7194, allocations: 114.9 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.7195, allocations: 12.12 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.7195, allocations: 11.75 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7195, allocations: 1.672 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7195, allocations: 0.7812 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7195, allocations: 0.5625 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.7199, allocations: 475.3 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.72, allocations: 1.156 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.72, allocations: 3.984 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.72, allocations: 0 / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.72, allocations: 1.188 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.72, allocations: 1.797 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.72, allocations: 3.938 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.695e-05/0.7201, allocations: 85.14 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.7202, allocations: 93.86 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.7202, allocations: 2.641 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.7202, allocations: 0 / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.7202, allocations: 1.828 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.7202, allocations: 1.75 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.436e-05/0.7203, allocations: 120.2 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7203, allocations: 4.031 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001895/0.7205, allocations: 16.19 kB / 1.087 GB, free: 13.89 MB / 0.8419 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.000112/0.7207, allocations: 97.55 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.126e-05/0.7207, allocations: 18.78 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7208, allocations: 0.9062 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.7208, allocations: 4.203 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.7209, allocations: 14 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.7213, allocations: 190.5 kB / 1.087 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.7216, allocations: 0.701 MB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.7216, allocations: 11.56 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of SimCode: time 1.235e-05/0.7216, allocations: 0 / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.002304/0.7239, allocations: 0.8699 MB / 1.089 GB, free: 12.81 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches