Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00166/0.00166, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.238 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.568/2.568, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004178, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8714, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001212/0.8726, allocations: 0.5117 MB / 0.9549 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.8728, allocations: 41.69 kB / 0.955 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.8729, allocations: 1.375 kB / 0.955 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.8729, allocations: 7.922 kB / 0.955 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.293e-05/0.873, allocations: 7.938 kB / 0.955 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.265e-05/0.8731, allocations: 11.56 kB / 0.955 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.8732, allocations: 58.97 kB / 0.9551 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.8734, allocations: 25.56 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.8735, allocations: 17.78 kB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.8735, allocations: 24.36 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.8736, allocations: 1.125 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.8736, allocations: 2.844 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.8736, allocations: 9.297 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.8736, allocations: 37.27 kB / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.8738, allocations: 49.91 kB / 0.9552 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.8738, allocations: 5.031 kB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8738, allocations: 0 / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.8738, allocations: 0 / 0.9552 GB, free: 7.074 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.0004176/0.8742, allocations: 368.7 kB / 0.9556 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8743, allocations: 8.656 kB / 0.9556 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.8743, allocations: 20.42 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.8746, allocations: 189 kB / 0.9558 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.8746, allocations: 7.938 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.8746, allocations: 4.969 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.8748, allocations: 90.17 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.8749, allocations: 11.92 kB / 0.9559 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.8749, allocations: 5.25 kB / 0.9559 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8749, allocations: 1.188 kB / 0.9559 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.875, allocations: 39.06 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.8756, allocations: 434.4 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.8757, allocations: 49.64 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.8758, allocations: 19.25 kB / 0.9564 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.8758, allocations: 0 / 0.9564 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.8758, allocations: 31.97 kB / 0.9564 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.706e-06/0.8758, allocations: 4 kB / 0.9565 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002326/0.8761, allocations: 51.3 kB / 0.9565 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8761, allocations: 82.47 kB / 0.9566 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.8763, allocations: 158.5 kB / 0.9567 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.8763, allocations: 29.69 kB / 0.9568 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.8764, allocations: 104.7 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.8764, allocations: 16.89 kB / 0.9569 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.8765, allocations: 0 / 0.9569 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.8765, allocations: 325.2 kB / 0.9572 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.8766, allocations: 3.438 kB / 0.9572 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.8766, allocations: 22.2 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.8766, allocations: 4.906 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8767, allocations: 1.281 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001125/0.8768, allocations: 57.98 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8768, allocations: 9.672 kB / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8768, allocations: 4.062 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8768, allocations: 1.031 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.8769, allocations: 6.562 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8769, allocations: 0 / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.877, allocations: 2.656 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.877, allocations: 1.188 kB / 0.9573 GB, free: 4.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.272e-05/0.8771, allocations: 117.5 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.8772, allocations: 7.906 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.8772, allocations: 18.64 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8772, allocations: 1.156 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.8772, allocations: 0 / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8773, allocations: 9.188 kB / 0.9574 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.8777, allocations: 474.2 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8777, allocations: 0 / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.8777, allocations: 3.594 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8778, allocations: 0.9062 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.8778, allocations: 4.969 kB / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8778, allocations: 0 / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8778, allocations: 9.062 kB / 0.9579 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.8779, allocations: 78.12 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.878, allocations: 88.09 kB / 0.9581 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.878, allocations: 5.031 kB / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.878, allocations: 5 kB / 0.9581 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.8781, allocations: 1.094 kB / 0.9581 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.8781, allocations: 0.875 kB / 0.9581 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.889e-05/0.8782, allocations: 119.5 kB / 0.9582 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8782, allocations: 0 / 0.9582 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003582/0.8786, allocations: 15.45 kB / 0.9582 GB, free: 4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.8787, allocations: 100.2 kB / 0.9583 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.8788, allocations: 21.34 kB / 0.9583 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8788, allocations: 0.9062 kB / 0.9583 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.8789, allocations: 7.469 kB / 0.9583 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.8791, allocations: 11.45 kB / 0.9583 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.8796, allocations: 181.3 kB / 0.9585 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.8797, allocations: 0.6913 MB / 0.9592 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.622e-05/0.8798, allocations: 9.047 kB / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.8798, allocations: 10.91 kB / 0.9592 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8798, allocations: 3.938 kB / 0.9592 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.003629/0.8835, allocations: 419.9 kB / 0.9596 GB, free: 2.77 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches