Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006707/0.006707, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001385/0.001385, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.531/2.531, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8198, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002106/0.822, allocations: 0.9307 MB / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.8221, allocations: 54.59 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.8222, allocations: 1.375 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.583e-05/0.8222, allocations: 7.938 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.092e-05/0.8223, allocations: 9.297 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.755e-05/0.8224, allocations: 16.12 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.8225, allocations: 72.66 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.8227, allocations: 62.92 kB / 0.9507 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.8227, allocations: 29.42 kB / 0.9507 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.8228, allocations: 29.3 kB / 0.9508 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.8228, allocations: 5.5 kB / 0.9508 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.8228, allocations: 4.125 kB / 0.9508 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.8228, allocations: 22.67 kB / 0.9508 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.8229, allocations: 40.73 kB / 0.9508 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.822e-05/0.8229, allocations: 66.58 kB / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.823, allocations: 1 kB / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.823, allocations: 0 / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.823, allocations: 4 kB / 0.9509 GB, free: 8.18 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.0003848/0.8234, allocations: 396.1 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8234, allocations: 13.56 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.8235, allocations: 10.53 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.8236, allocations: 203.4 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8237, allocations: 12.78 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.8237, allocations: 5.938 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.8239, allocations: 111.7 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8239, allocations: 0 / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8239, allocations: 4.781 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.8239, allocations: 2.438 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/0.824, allocations: 42.83 kB / 0.9517 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.8245, allocations: 470 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.8245, allocations: 45.55 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.8246, allocations: 20.94 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.8246, allocations: 0 / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.8246, allocations: 36.31 kB / 0.9522 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8246, allocations: 4 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.8248, allocations: 55.53 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.8248, allocations: 78.3 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.825, allocations: 189.7 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.825, allocations: 25.7 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.825, allocations: 113.9 kB / 0.9527 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.8251, allocations: 5.156 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.8251, allocations: 22 kB / 0.9527 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.8251, allocations: 325.2 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.8252, allocations: 2.5 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/0.8252, allocations: 18.91 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.8252, allocations: 30.83 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8252, allocations: 0 / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.266e-05/0.8253, allocations: 64.8 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.8253, allocations: 4.188 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8254, allocations: 2 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.8254, allocations: 0 / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.8254, allocations: 13.52 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.8254, allocations: 0 / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.8255, allocations: 14.41 kB / 0.9531 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.8255, allocations: 1.312 kB / 0.9531 GB, free: 5.934 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.784e-05/0.8255, allocations: 114.6 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.8256, allocations: 12.94 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.8256, allocations: 16.7 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8256, allocations: 0 / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8256, allocations: 1.688 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.8256, allocations: 3.938 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.8259, allocations: 477.9 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.826, allocations: 0 / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.826, allocations: 6.844 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.826, allocations: 1.406 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.826, allocations: 3.938 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.826, allocations: 1.406 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.826, allocations: 0 / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.14e-05/0.8261, allocations: 83.77 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.8261, allocations: 93.72 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.8262, allocations: 5.312 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.8262, allocations: 0 / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.8262, allocations: 5.266 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.8262, allocations: 13.34 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.694e-05/0.8263, allocations: 130.4 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8263, allocations: 0 / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001997/0.8265, allocations: 12.09 kB / 0.9541 GB, free: 4.969 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.000102/0.8266, allocations: 101.1 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.869e-05/0.8267, allocations: 21.33 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8267, allocations: 1.219 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.8267, allocations: 4.375 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.8269, allocations: 11.14 kB / 0.9542 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.8273, allocations: 243.8 kB / 0.9544 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.8274, allocations: 0.6982 MB / 0.9551 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.8275, allocations: 13.03 kB / 0.9551 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8275, allocations: 4 kB / 0.9551 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.00245/0.8299, allocations: 0.9728 MB / 0.9561 GB, free: 3.41 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches