Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.0008225/0.0008225, allocations: 92.55 kB / 16.02 MB, free: 80 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.001058/0.001058, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 11.56 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3354, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001067/0.3365, allocations: 0.5375 MB / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.3367, allocations: 43.78 kB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.3367, allocations: 0 / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.3368, allocations: 11.92 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.3369, allocations: 4 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.667e-05/0.3369, allocations: 15.98 kB / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.337, allocations: 63.7 kB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3372, allocations: 47.95 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.3373, allocations: 15.86 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.3373, allocations: 19.86 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3373, allocations: 0 / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.3374, allocations: 4 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.3374, allocations: 7.938 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3375, allocations: 49.52 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.23e-05/0.3376, allocations: 52.09 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3376, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3376, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3376, allocations: 7.938 kB / 1.06 GB, free: 4.078 MB / 0.8106 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.0004167/0.338, allocations: 371.3 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3381, allocations: 8.031 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.3381, allocations: 12.84 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3384, allocations: 184.2 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3384, allocations: 8.375 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.3384, allocations: 8.359 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3386, allocations: 101 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3386, allocations: 192 / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3386, allocations: 3.938 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3386, allocations: 0 / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.3387, allocations: 39.92 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.3394, allocations: 440.5 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.3395, allocations: 37.22 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.3395, allocations: 25.8 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.3395, allocations: 0 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3396, allocations: 34.56 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3396, allocations: 4 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002077/0.3398, allocations: 57.47 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.3399, allocations: 77.11 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.34, allocations: 164.1 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3401, allocations: 25.7 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.3401, allocations: 107.9 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.3402, allocations: 11.98 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3402, allocations: 13.95 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3403, allocations: 318.8 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.3404, allocations: 4 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.3404, allocations: 21.7 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.3404, allocations: 29.66 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3405, allocations: 3.938 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/0.3406, allocations: 61.59 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3406, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3406, allocations: 7.938 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3406, allocations: 3.938 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.3407, allocations: 4 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3407, allocations: 0 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.3408, allocations: 11.84 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.3408, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 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 9.031e-05/0.3409, allocations: 113.8 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.3409, allocations: 11.97 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.3409, allocations: 19.8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3409, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.341, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.341, allocations: 4 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.3414, allocations: 462.8 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3414, allocations: 4 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.3414, allocations: 4.062 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3414, allocations: 4 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.3414, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3414, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3414, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.482e-05/0.3415, allocations: 85.77 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.3416, allocations: 92.94 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3416, allocations: 4.031 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.3416, allocations: 8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.3416, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3417, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.61e-05/0.3418, allocations: 127.5 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3418, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001995/0.342, allocations: 11.91 kB / 1.063 GB, free: 0.6133 MB / 0.8106 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.0001314/0.3421, allocations: 99.25 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.189e-05/0.3422, allocations: 19.94 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3422, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.3422, allocations: 7.984 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.3424, allocations: 13.48 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3428, allocations: 208.3 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3432, allocations: 0.6965 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3432, allocations: 11.44 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3432, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.002356/0.3456, allocations: 0.8405 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches