Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.00161/0.001611, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001899/0.001899, allocations: 187 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 68.11 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.779, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002271/0.7813, allocations: 0.8225 MB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.7815, allocations: 39.84 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.7816, allocations: 0 / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.7816, allocations: 11.86 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.677e-05/0.7817, allocations: 7.875 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.109e-05/0.7818, allocations: 19.98 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.7819, allocations: 63.84 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.7821, allocations: 51.89 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.7822, allocations: 23.81 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.7823, allocations: 27.84 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.7823, allocations: 12 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.7823, allocations: 4 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.7823, allocations: 15.94 kB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.7824, allocations: 35.8 kB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.7825, allocations: 75.64 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7825, allocations: 0 / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.819e-06/0.7825, allocations: 0 / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.7826, allocations: 3.938 kB / 1.21 GB, free: 12.43 MB / 0.9356 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.0004713/0.783, allocations: 384.8 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7831, allocations: 12.03 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.7831, allocations: 12.84 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.7833, allocations: 184.2 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.7834, allocations: 4.375 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.7834, allocations: 8.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.7836, allocations: 99.81 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7836, allocations: 4.188 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.7836, allocations: 3.938 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7836, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.7837, allocations: 39.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.7843, allocations: 432.6 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.7844, allocations: 45.19 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.7844, allocations: 25.83 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.7844, allocations: 4 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.7845, allocations: 30.56 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.7845, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/0.7847, allocations: 57.48 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.7847, allocations: 77.36 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.7849, allocations: 164.7 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.7849, allocations: 25.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.785, allocations: 104 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.785, allocations: 3.906 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.785, allocations: 17.72 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7852, allocations: 322.8 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.7852, allocations: 4 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.7852, allocations: 25.7 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.7853, allocations: 29.66 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7853, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.762e-05/0.7854, allocations: 53.55 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.7854, allocations: 11.98 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7854, allocations: 7.875 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7854, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.7855, allocations: 8.062 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.7855, allocations: 8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.7856, allocations: 3.906 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.7856, allocations: 4 kB / 1.212 GB, free: 9.992 MB / 0.9356 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 8.624e-05/0.7857, allocations: 113.8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.7857, allocations: 11.98 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.7857, allocations: 15.8 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7858, allocations: 0 / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7858, allocations: 4 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7858, allocations: 4 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.7862, allocations: 470.8 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7862, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.7862, allocations: 4 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7862, allocations: 3.938 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.7862, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7862, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7862, allocations: 8 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.3e-05/0.7863, allocations: 81.83 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.7864, allocations: 88.94 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.7864, allocations: 8 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.7864, allocations: 0 / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.7865, allocations: 0 / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.7865, allocations: 4.031 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.191e-05/0.7866, allocations: 121.1 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7866, allocations: 0 / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001956/0.7868, allocations: 11.91 kB / 1.213 GB, free: 8.945 MB / 0.9356 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.0001188/0.7869, allocations: 95.25 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.775e-05/0.787, allocations: 19.94 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.787, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.787, allocations: 16.11 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.7872, allocations: 11.94 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.7875, allocations: 184.4 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.7878, allocations: 0.6963 MB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.7879, allocations: 11.44 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.7879, allocations: 4.062 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of Templates: time 0.002453/0.7903, allocations: 0.8676 MB / 1.214 GB, free: 6.969 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches