Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009631/0.009631, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001943/0.001944, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.89 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4105, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002252/0.4128, allocations: 0.8178 MB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.4129, allocations: 43.78 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.413, allocations: 4 kB / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.4131, allocations: 11.86 kB / 1.167 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.4132, allocations: 11.88 kB / 1.167 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.531e-05/0.4133, allocations: 15.98 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.4134, allocations: 55.84 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.4136, allocations: 51.97 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.4137, allocations: 23.88 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.4138, allocations: 39.7 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.4138, allocations: 4 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.4138, allocations: 8 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.4138, allocations: 7.938 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.4139, allocations: 35.8 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.4141, allocations: 79.58 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4141, allocations: 7.938 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4141, allocations: 0 / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.4141, allocations: 0 / 1.168 GB, free: 5.547 MB / 0.92 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.000588/0.4147, allocations: 387 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4148, allocations: 8.031 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.4148, allocations: 12.84 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4151, allocations: 196.2 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4151, allocations: 4.375 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.4152, allocations: 12.38 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.4154, allocations: 91.89 kB / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4154, allocations: 192 / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.4154, allocations: 3.938 kB / 1.168 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4154, allocations: 4 kB / 1.168 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4156, allocations: 35.98 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.4163, allocations: 440.6 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/0.4164, allocations: 41.2 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.4164, allocations: 17.78 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.4165, allocations: 4.031 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4165, allocations: 38.56 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.4165, allocations: 0 / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002367/0.4167, allocations: 53.53 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.4168, allocations: 81.09 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.417, allocations: 156.3 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4171, allocations: 25.7 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.4171, allocations: 100.3 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.4172, allocations: 23.88 kB / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.4172, allocations: 17.7 kB / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4174, allocations: 314.8 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.4174, allocations: 11.98 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.4175, allocations: 13.72 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.4175, allocations: 33.66 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.4175, allocations: 4 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/0.4176, allocations: 57.59 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4177, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4177, allocations: 3.938 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4177, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.4178, allocations: 7.938 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.4178, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.4179, allocations: 8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4179, allocations: 4 kB / 1.17 GB, free: 3.109 MB / 0.92 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 0.0001148/0.418, allocations: 117.8 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.4181, allocations: 15.94 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.4181, allocations: 11.81 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4181, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4181, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4181, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.4186, allocations: 478.7 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4186, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.4187, allocations: 4 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4187, allocations: 3.938 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4187, allocations: 4 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4187, allocations: 3.984 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4187, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.4188, allocations: 81.89 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.4189, allocations: 93.05 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4189, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.4189, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.419, allocations: 4 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.419, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001159/0.4191, allocations: 121.3 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4191, allocations: 0 / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002142/0.4193, allocations: 11.94 kB / 1.171 GB, free: 2.062 MB / 0.92 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.0001804/0.4195, allocations: 103.4 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4196, allocations: 27.92 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4196, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.4197, allocations: 4 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.4198, allocations: 11.94 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.4202, allocations: 162.8 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4206, allocations: 0.7006 MB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.981e-05/0.4206, allocations: 4.438 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.4207, allocations: 11.44 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/0.4207, allocations: 0 / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of Templates: time 0.00321/0.4239, allocations: 470.1 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches