Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004782/0.004782, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001362/0.001362, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 68.11 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6686, allocations: 159.1 MB / 1.22 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001862/0.6705, allocations: 0.8351 MB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001008/0.6706, allocations: 39.78 kB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.6707, allocations: 4 kB / 1.221 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.6707, allocations: 7.875 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.6708, allocations: 11.88 kB / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.467e-05/0.6708, allocations: 15.98 kB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.76e-05/0.6709, allocations: 67.83 kB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.6711, allocations: 47.86 kB / 1.221 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.6712, allocations: 19.94 kB / 1.221 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.6712, allocations: 35.72 kB / 1.221 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.6712, allocations: 8 kB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.6713, allocations: 8 kB / 1.221 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.6713, allocations: 11.92 kB / 1.221 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.6713, allocations: 35.8 kB / 1.221 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.6714, allocations: 71.38 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.6714, allocations: 0 / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6715, allocations: 0 / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.6715, allocations: 0 / 1.221 GB, free: 0.875 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.0004438/0.6719, allocations: 379.1 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.672, allocations: 12.03 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.672, allocations: 42.73 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.672, allocations: 20.72 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.6723, allocations: 192.2 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.6723, allocations: 8.375 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.6723, allocations: 12.38 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.6725, allocations: 97.52 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6725, allocations: 3.938 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.6725, allocations: 11.98 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.6725, allocations: 8.031 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.6726, allocations: 35.88 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.6731, allocations: 436.7 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.6732, allocations: 37.28 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.6732, allocations: 21.72 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.6732, allocations: 96 / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6733, allocations: 38.48 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6733, allocations: 4 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.6734, allocations: 53.53 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.6735, allocations: 81.36 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.6736, allocations: 160.7 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.6737, allocations: 25.7 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.6737, allocations: 104.1 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.6738, allocations: 3.953 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.6738, allocations: 21.67 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6739, allocations: 318.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.674, allocations: 8 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.674, allocations: 25.7 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.674, allocations: 25.66 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.674, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.394e-05/0.6741, allocations: 57.66 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6742, allocations: 7.938 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.6742, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.6742, allocations: 4.062 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.6742, allocations: 15.92 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6743, allocations: 3.938 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.6743, allocations: 7.938 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.6743, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 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.937e-05/0.6744, allocations: 113.8 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.6744, allocations: 11.89 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.6745, allocations: 11.86 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.6745, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.6745, allocations: 4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6745, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.6749, allocations: 474.7 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6749, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.6749, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6749, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.6749, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.675, allocations: 4.062 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.675, allocations: 4 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.11e-05/0.6751, allocations: 89.75 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.6751, allocations: 85.06 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.6751, allocations: 4 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.6752, allocations: 3.984 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.6752, allocations: 4.031 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.6752, allocations: 4 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.123e-05/0.6753, allocations: 121.1 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6753, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001777/0.6755, allocations: 8 kB / 1.224 GB, free: 13.32 MB / 0.9512 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.0003979/0.6759, allocations: 0.6176 MB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.676, allocations: 16 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.676, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.676, allocations: 11.94 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.6761, allocations: 8 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.6774, allocations: 1.326 MB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.6777, allocations: 0.6928 MB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.6778, allocations: 4.438 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.6778, allocations: 27.42 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of SimCode: time 2.074e-06/0.6778, allocations: 4 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/1.777, allocations: 1.589 MB / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/12.51, allocations: 14.64 kB / 1.229 GB, free: 8.957 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches