Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.0009714/0.0009713, allocations: 98.27 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.007297/0.007297, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.074/2.074, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5, allocations: 142.4 MB / 0.9552 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.0007723/0.5008, allocations: 0.5866 MB / 0.9557 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.5009, allocations: 50.83 kB / 0.9558 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.501, allocations: 1.438 kB / 0.9558 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.501, allocations: 3.938 kB / 0.9558 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.5011, allocations: 9.344 kB / 0.9558 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.692e-05/0.5011, allocations: 20.23 kB / 0.9558 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.5012, allocations: 72.62 kB / 0.9559 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.5013, allocations: 55.28 kB / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.5014, allocations: 26.48 kB / 0.956 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.5014, allocations: 29.36 kB / 0.956 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.5015, allocations: 2.281 kB / 0.956 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.5015, allocations: 1.094 kB / 0.956 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.5015, allocations: 11.61 kB / 0.956 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.5015, allocations: 55.23 kB / 0.9561 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.217e-05/0.5016, allocations: 91.17 kB / 0.9562 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5016, allocations: 0 / 0.9562 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5016, allocations: 1.219 kB / 0.9562 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5016, allocations: 0 / 0.9562 GB, free: 6.988 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000266/0.5019, allocations: 382 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5019, allocations: 8.719 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.502, allocations: 46.67 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.502, allocations: 13.84 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.5021, allocations: 200.7 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.5022, allocations: 17.25 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5022, allocations: 10.09 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.5023, allocations: 111.1 kB / 0.9569 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.5023, allocations: 0 / 0.9569 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5023, allocations: 5.844 kB / 0.9569 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5023, allocations: 2.156 kB / 0.9569 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.5024, allocations: 43.83 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.5028, allocations: 465.3 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.7e-05/0.5028, allocations: 46.06 kB / 0.9574 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.5029, allocations: 27.86 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-06/0.5029, allocations: 1.344 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.057e-05/0.5029, allocations: 35.88 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5029, allocations: 0 / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.503, allocations: 51.23 kB / 0.9576 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.5031, allocations: 81.89 kB / 0.9576 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.5032, allocations: 186.1 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.5032, allocations: 31.48 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.5032, allocations: 112.5 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-06/0.5033, allocations: 5.188 kB / 0.958 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.5033, allocations: 11.28 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.415e-05/0.5033, allocations: 325.4 kB / 0.9583 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.5033, allocations: 10.89 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.5033, allocations: 18.81 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.5034, allocations: 25.91 kB / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5034, allocations: 0 / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.478e-05/0.5035, allocations: 64.72 kB / 0.9584 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.5035, allocations: 5.875 kB / 0.9584 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.5035, allocations: 0 / 0.9584 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.5035, allocations: 0 / 0.9584 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.5035, allocations: 5.875 kB / 0.9584 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.5035, allocations: 1.719 kB / 0.9584 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.5036, allocations: 17.47 kB / 0.9584 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.5036, allocations: 1.625 kB / 0.9584 GB, free: 4.695 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.422e-05/0.5036, allocations: 118.2 kB / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.5037, allocations: 12.97 kB / 0.9585 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.5037, allocations: 15.98 kB / 0.9586 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5037, allocations: 1.594 kB / 0.9586 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5037, allocations: 0 / 0.9586 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5037, allocations: 5.625 kB / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.504, allocations: 476.5 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.504, allocations: 0 / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.504, allocations: 2.938 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.504, allocations: 5.281 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.504, allocations: 1.562 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.504, allocations: 0 / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.504, allocations: 1.625 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.408e-05/0.5041, allocations: 86.92 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.5041, allocations: 96.64 kB / 0.9592 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5041, allocations: 5.281 kB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.5042, allocations: 0 / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.5042, allocations: 6.156 kB / 0.9592 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.5042, allocations: 4 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.163e-05/0.5043, allocations: 138.5 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5043, allocations: 1.656 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001752/0.5045, allocations: 11.73 kB / 0.9594 GB, free: 3.723 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.0001788/0.5046, allocations: 0.6089 MB / 0.96 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.505e-05/0.5047, allocations: 26.73 kB / 0.96 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5047, allocations: 3.938 kB / 0.96 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-06/0.5047, allocations: 3.594 kB / 0.96 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.5049, allocations: 9.531 kB / 0.96 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.5057, allocations: 1.413 MB / 0.9614 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.5058, allocations: 0.6984 MB / 0.9621 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.5058, allocations: 14.05 kB / 0.9621 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.5058, allocations: 31.55 kB / 0.9621 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5058, allocations: 1.375 kB / 0.9621 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.235/1.741, allocations: 1.508 MB / 0.9636 GB, free: 368 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.741, allocations: 203.6 kB / 0.9638 GB, free: 112 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/3.332, allocations: 0 / 0.9638 GB, free: 112 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches