Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 98.88 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.002029/0.002029, allocations: 182.3 kB / 16.92 MB, free: 6.914 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.32 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.456/2.456, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7893, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00101/0.7904, allocations: 0.5337 MB / 0.9562 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.7905, allocations: 36.91 kB / 0.9563 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.7906, allocations: 10.41 kB / 0.9563 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.7906, allocations: 11.86 kB / 0.9563 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.7907, allocations: 3.938 kB / 0.9563 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.166e-05/0.7907, allocations: 15.62 kB / 0.9563 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.7908, allocations: 51.25 kB / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.791, allocations: 46.17 kB / 0.9564 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.7911, allocations: 20.92 kB / 0.9564 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.7911, allocations: 24.02 kB / 0.9564 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.7911, allocations: 1.75 kB / 0.9564 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.7912, allocations: 2.062 kB / 0.9564 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.7912, allocations: 6.125 kB / 0.9565 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.7912, allocations: 50.39 kB / 0.9565 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.901e-05/0.7913, allocations: 52.12 kB / 0.9566 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7913, allocations: 1.062 kB / 0.9566 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7913, allocations: 0 / 0.9566 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.7913, allocations: 4 kB / 0.9566 GB, free: 6.973 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.0003319/0.7917, allocations: 361.9 kB / 0.9569 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7917, allocations: 8.938 kB / 0.9569 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.7918, allocations: 12.97 kB / 0.9569 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.7919, allocations: 195.2 kB / 0.9571 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.792, allocations: 3.938 kB / 0.9571 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.792, allocations: 8.906 kB / 0.9571 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.7921, allocations: 101 kB / 0.9572 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.7921, allocations: 192 / 0.9572 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.7922, allocations: 9.062 kB / 0.9572 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.7922, allocations: 2.125 kB / 0.9572 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.7923, allocations: 36.27 kB / 0.9573 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.7927, allocations: 441.8 kB / 0.9577 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.7928, allocations: 33.28 kB / 0.9577 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.7928, allocations: 22.89 kB / 0.9577 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.7928, allocations: 1.25 kB / 0.9577 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.7929, allocations: 39.81 kB / 0.9578 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7929, allocations: 0 / 0.9578 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.793, allocations: 59.52 kB / 0.9578 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.7931, allocations: 77.11 kB / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.7932, allocations: 160.2 kB / 0.9581 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.7932, allocations: 25.7 kB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.7933, allocations: 108.4 kB / 0.9582 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.7933, allocations: 9.094 kB / 0.9582 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.7933, allocations: 15.78 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.7934, allocations: 320 kB / 0.9585 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.7934, allocations: 7.75 kB / 0.9585 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.7934, allocations: 18.23 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.7934, allocations: 30.84 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7934, allocations: 4 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.923e-05/0.7935, allocations: 51.27 kB / 0.9586 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7935, allocations: 11.39 kB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7936, allocations: 3.938 kB / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7936, allocations: 5.453 kB / 0.9586 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.7936, allocations: 5.75 kB / 0.9586 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.7936, allocations: 3.938 kB / 0.9587 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.7937, allocations: 10.34 kB / 0.9587 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.7937, allocations: 2 kB / 0.9587 GB, free: 4.812 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.931e-05/0.7938, allocations: 117.5 kB / 0.9588 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.7938, allocations: 7.594 kB / 0.9588 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.7938, allocations: 15.08 kB / 0.9588 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.7938, allocations: 0 / 0.9588 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7938, allocations: 5.219 kB / 0.9588 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7939, allocations: 0 / 0.9588 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.7941, allocations: 475.2 kB / 0.9593 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7941, allocations: 4.031 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.7942, allocations: 3.938 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7942, allocations: 0 / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.7942, allocations: 1.031 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7942, allocations: 1.344 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7942, allocations: 0 / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.35e-05/0.7943, allocations: 86.14 kB / 0.9593 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.7943, allocations: 96.88 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.7943, allocations: 1.469 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.7943, allocations: 0 / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.7944, allocations: 0.6562 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.7944, allocations: 1.406 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.7944, allocations: 119.9 kB / 0.9596 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7944, allocations: 0 / 0.9596 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001856/0.7946, allocations: 7.438 kB / 0.9596 GB, free: 3.867 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.0001016/0.7947, allocations: 104.6 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.853e-05/0.7948, allocations: 20.59 kB / 0.9597 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7948, allocations: 0 / 0.9597 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.7948, allocations: 5.859 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.795, allocations: 11.5 kB / 0.9597 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.7953, allocations: 210.2 kB / 0.9599 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.7955, allocations: 0.6917 MB / 0.9606 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.7955, allocations: 15.77 kB / 0.9606 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7955, allocations: 3.938 kB / 0.9606 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.002248/0.7977, allocations: 0.8486 MB / 0.9614 GB, free: 2.387 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches