Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 100.1 kB / 15.88 MB, free: 12 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.001256/0.001256, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.353/1.353, allocations: 222.9 MB / 240.5 MB, free: 4.516 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.423/2.423, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 67.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7112, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001934/0.7132, allocations: 0.9386 MB / 0.9505 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001077/0.7133, allocations: 53.41 kB / 0.9505 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.7134, allocations: 6.781 kB / 0.9506 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.7134, allocations: 3.938 kB / 0.9506 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.7135, allocations: 7.922 kB / 0.9506 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.882e-05/0.7136, allocations: 16.22 kB / 0.9506 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.826e-05/0.7136, allocations: 77.5 kB / 0.9507 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.7138, allocations: 55.06 kB / 0.9507 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.7139, allocations: 25.42 kB / 0.9507 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.7139, allocations: 33.08 kB / 0.9508 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.7139, allocations: 4.844 kB / 0.9508 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.7139, allocations: 5.344 kB / 0.9508 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.714, allocations: 18.83 kB / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.714, allocations: 44.52 kB / 0.9508 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.233e-05/0.7141, allocations: 71.11 kB / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7141, allocations: 0 / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7141, allocations: 0 / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7141, allocations: 3.938 kB / 0.9509 GB, free: 8.086 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003654/0.7145, allocations: 396.7 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7145, allocations: 9.562 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.7146, allocations: 10.34 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7148, allocations: 202.5 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.7148, allocations: 12.69 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.7148, allocations: 5.875 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.715, allocations: 112.4 kB / 0.9516 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.715, allocations: 0 / 0.9516 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.715, allocations: 9.312 kB / 0.9516 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.715, allocations: 2.75 kB / 0.9516 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.7151, allocations: 39.36 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.7156, allocations: 476.5 kB / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.7156, allocations: 38.73 kB / 0.9522 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.7156, allocations: 19.16 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.7157, allocations: 5.375 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.7157, allocations: 35.94 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7157, allocations: 0 / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001545/0.7158, allocations: 55.28 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.7159, allocations: 78.48 kB / 0.9523 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.716, allocations: 182.7 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.716, allocations: 25.95 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.7161, allocations: 117.5 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.7161, allocations: 5.281 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.7161, allocations: 17.84 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.7162, allocations: 325.5 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.7162, allocations: 2.75 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.7162, allocations: 19.22 kB / 0.953 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.7163, allocations: 33.89 kB / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7163, allocations: 224 / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.337e-05/0.7164, allocations: 56.11 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7164, allocations: 9.25 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7164, allocations: 5.344 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7164, allocations: 3.984 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.7165, allocations: 9.609 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7165, allocations: 1.406 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.7165, allocations: 18.53 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.7165, allocations: 1.469 kB / 0.9531 GB, free: 5.844 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.91e-05/0.7166, allocations: 114.6 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.7166, allocations: 8.25 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.7167, allocations: 16.55 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7167, allocations: 0 / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7167, allocations: 5.375 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7167, allocations: 3.938 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.717, allocations: 477.3 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.717, allocations: 4 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.717, allocations: 8.141 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.717, allocations: 0 / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.717, allocations: 5.094 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.717, allocations: 1.562 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.717, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.204e-05/0.7171, allocations: 83.34 kB / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.7171, allocations: 89.03 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.7172, allocations: 5.375 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.7172, allocations: 4 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.7172, allocations: 5.266 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.7172, allocations: 1.062 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.629e-05/0.7173, allocations: 135 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7173, allocations: 4.031 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001889/0.7175, allocations: 12.66 kB / 0.9541 GB, free: 4.879 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 9.713e-05/0.7176, allocations: 96.19 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.7177, allocations: 22.27 kB / 0.9542 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7177, allocations: 1.625 kB / 0.9542 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.7177, allocations: 7.156 kB / 0.9542 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.7179, allocations: 7.656 kB / 0.9542 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.7182, allocations: 246.9 kB / 0.9544 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.7183, allocations: 0.7023 MB / 0.9551 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.7184, allocations: 12.56 kB / 0.9551 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7184, allocations: 0 / 0.9551 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.002119/0.7205, allocations: 0.9776 MB / 0.9561 GB, free: 3.316 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches