Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01256/0.01256, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.002386/0.002386, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.012/3.012, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4143, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00247/0.4168, allocations: 0.827 MB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001577/0.417, allocations: 39.78 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.188e-05/0.4171, allocations: 4 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.546e-05/0.4171, allocations: 11.88 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/0.4172, allocations: 11.88 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.283e-05/0.4173, allocations: 19.97 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.4174, allocations: 55.84 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.4176, allocations: 51.92 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.4177, allocations: 31.84 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.4177, allocations: 23.86 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4178, allocations: 7.938 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.4178, allocations: 8 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.4178, allocations: 15.86 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.4179, allocations: 35.75 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.418, allocations: 79.69 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.418, allocations: 0 / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.418, allocations: 4 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.418, allocations: 0 / 1.209 GB, free: 8.406 MB / 0.9669 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.0004743/0.4185, allocations: 379.2 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4186, allocations: 8.625 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.4186, allocations: 8.844 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.4188, allocations: 196.1 kB / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4188, allocations: 4.375 kB / 1.209 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.4189, allocations: 8.375 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.419, allocations: 91.95 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4191, allocations: 4.125 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4191, allocations: 3.938 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4191, allocations: 4 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.4192, allocations: 35.98 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.4197, allocations: 436.7 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.985e-05/0.4198, allocations: 45.14 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.4199, allocations: 17.78 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.4199, allocations: 0 / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4199, allocations: 42.5 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4199, allocations: 0 / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000177/0.4201, allocations: 53.53 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.4202, allocations: 81.05 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4203, allocations: 158.2 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4203, allocations: 25.7 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.4204, allocations: 108 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.4204, allocations: 11.89 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.4205, allocations: 21.88 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.4206, allocations: 318.8 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.4206, allocations: 8 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.4206, allocations: 13.72 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.4207, allocations: 33.66 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4207, allocations: 0 / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.513e-05/0.4208, allocations: 57.62 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4208, allocations: 4 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4208, allocations: 3.938 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4208, allocations: 7.938 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.4209, allocations: 4 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4209, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.4209, allocations: 15.78 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.421, allocations: 0 / 1.211 GB, free: 5.977 MB / 0.9669 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 7.654e-05/0.421, allocations: 121.9 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.4211, allocations: 7.906 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.4211, allocations: 15.81 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4211, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4211, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4211, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.4215, allocations: 470.8 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4215, allocations: 4.062 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.4216, allocations: 7.984 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.4216, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.4216, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4216, allocations: 4 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4216, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.4217, allocations: 81.69 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.4217, allocations: 97.03 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.4218, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.4218, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4218, allocations: 4 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.4218, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.251e-05/0.4219, allocations: 121.9 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4219, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001801/0.4221, allocations: 8 kB / 1.212 GB, free: 4.938 MB / 0.9669 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.0001464/0.4222, allocations: 103.2 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.4223, allocations: 19.94 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4223, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.4224, allocations: 8 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.4225, allocations: 25.22 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.4229, allocations: 150.8 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.4231, allocations: 0.697 MB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.4231, allocations: 8.422 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.4232, allocations: 11.44 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.4232, allocations: 0 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.002592/0.4258, allocations: 473 kB / 1.213 GB, free: 3.391 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches