Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.000858/0.0008582, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.00558/0.00558, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6002, allocations: 142.4 MB / 0.9552 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0009343/0.6012, allocations: 0.5331 MB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000101/0.6013, allocations: 37.16 kB / 0.9557 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.6014, allocations: 9.188 kB / 0.9557 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.6014, allocations: 9.016 kB / 0.9557 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.6015, allocations: 3.938 kB / 0.9557 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.379e-05/0.6015, allocations: 15.34 kB / 0.9558 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.6016, allocations: 51.16 kB / 0.9558 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.6018, allocations: 47.16 kB / 0.9559 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.6018, allocations: 17.86 kB / 0.9559 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.6019, allocations: 24.14 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.6019, allocations: 1.469 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.6019, allocations: 1.281 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.6019, allocations: 10.27 kB / 0.9559 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.602, allocations: 51.39 kB / 0.956 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.956e-05/0.6021, allocations: 65.94 kB / 0.956 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6021, allocations: 8.938 kB / 0.956 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6021, allocations: 0 / 0.956 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6021, allocations: 0 / 0.956 GB, free: 6.984 MB / 0.7169 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.0003333/0.6024, allocations: 361.2 kB / 0.9564 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.6025, allocations: 9.938 kB / 0.9564 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.6025, allocations: 45.3 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.6026, allocations: 17.09 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.6027, allocations: 190.8 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.6028, allocations: 7.656 kB / 0.9566 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.6028, allocations: 9.781 kB / 0.9566 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.6029, allocations: 94.83 kB / 0.9567 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6029, allocations: 7.922 kB / 0.9567 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6029, allocations: 5.219 kB / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.603, allocations: 1.25 kB / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.603, allocations: 31.67 kB / 0.9568 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.6035, allocations: 443 kB / 0.9572 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.6035, allocations: 33 kB / 0.9572 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.6035, allocations: 23.5 kB / 0.9573 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.6036, allocations: 4 kB / 0.9573 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.6036, allocations: 41.23 kB / 0.9573 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.6036, allocations: 3.984 kB / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.6037, allocations: 53.83 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.6038, allocations: 78.3 kB / 0.9574 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6039, allocations: 164.4 kB / 0.9576 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.6039, allocations: 33.89 kB / 0.9576 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.604, allocations: 105 kB / 0.9577 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.604, allocations: 8.781 kB / 0.9577 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.604, allocations: 11.09 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.604, allocations: 320.6 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.6041, allocations: 2.875 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.6041, allocations: 19.19 kB / 0.9581 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.6041, allocations: 33.73 kB / 0.9581 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6041, allocations: 0.875 kB / 0.9581 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.708e-05/0.6042, allocations: 54.73 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.6042, allocations: 9.469 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6042, allocations: 1.219 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.6042, allocations: 3.938 kB / 0.9582 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.6043, allocations: 9.422 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.6043, allocations: 0.9688 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.6043, allocations: 10.09 kB / 0.9582 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.6043, allocations: 2.219 kB / 0.9582 GB, free: 4.773 MB / 0.7169 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 4.388e-05/0.6044, allocations: 113.3 kB / 0.9583 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.6044, allocations: 11.75 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.6045, allocations: 10.44 kB / 0.9583 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.6045, allocations: 5.703 kB / 0.9583 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6045, allocations: 0 / 0.9583 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6045, allocations: 1.031 kB / 0.9583 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.6047, allocations: 470 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6047, allocations: 1.062 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.6047, allocations: 7.031 kB / 0.9588 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6048, allocations: 1.031 kB / 0.9588 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.6048, allocations: 0 / 0.9588 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6048, allocations: 1.062 kB / 0.9588 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6048, allocations: 1.031 kB / 0.9588 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.677e-05/0.6048, allocations: 86.48 kB / 0.9589 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.6049, allocations: 88.33 kB / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.6049, allocations: 1.156 kB / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.6049, allocations: 4 kB / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.6049, allocations: 5.047 kB / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.6049, allocations: 9.875 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.605, allocations: 119.7 kB / 0.9591 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.605, allocations: 7.969 kB / 0.9591 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001792/0.6052, allocations: 6.781 kB / 0.9591 GB, free: 3.82 MB / 0.7169 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.0001984/0.6054, allocations: 0.6161 MB / 0.9597 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.139e-05/0.6055, allocations: 18.34 kB / 0.9597 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6055, allocations: 0 / 0.9597 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.6055, allocations: 8.375 kB / 0.9597 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.6056, allocations: 8.344 kB / 0.9597 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.6065, allocations: 1.342 MB / 0.961 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.6066, allocations: 0.6946 MB / 0.9617 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.6066, allocations: 8.688 kB / 0.9617 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.6067, allocations: 28.3 kB / 0.9617 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of SimCode: time 4.5e-07/0.6067, allocations: 0 / 0.9617 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.6168, allocations: 1.361 MB / 0.9631 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001269/0.6169, allocations: 208.7 kB / 0.9633 GB, free: 308 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/3.724, allocations: 4 kB / 0.9633 GB, free: 304 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches