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.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001655/0.001655, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.182/2.182, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4956, allocations: 140.4 MB / 0.949 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001794/0.4975, allocations: 0.9342 MB / 0.95 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.4976, allocations: 54.58 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.4977, allocations: 2.219 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.4977, allocations: 7.938 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.4978, allocations: 5.031 kB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.771e-05/0.4978, allocations: 23.36 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.4979, allocations: 72.91 kB / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.498, allocations: 54.89 kB / 0.9502 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.4981, allocations: 29.75 kB / 0.9502 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.4981, allocations: 37.27 kB / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4982, allocations: 5.125 kB / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.4982, allocations: 5 kB / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.4982, allocations: 18.64 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.4982, allocations: 39.58 kB / 0.9503 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.014e-05/0.4983, allocations: 86.17 kB / 0.9504 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4983, allocations: 0 / 0.9504 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4983, allocations: 5.25 kB / 0.9504 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.4983, allocations: 4 kB / 0.9504 GB, free: 8.129 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.0003125/0.4987, allocations: 400 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4987, allocations: 9 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.4987, allocations: 45.7 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.4988, allocations: 10.81 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.4989, allocations: 205 kB / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4989, allocations: 8.344 kB / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.499, allocations: 10.91 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.4991, allocations: 111.9 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.4991, allocations: 3.938 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.4991, allocations: 5.312 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4991, allocations: 1.344 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.4992, allocations: 40.61 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.4996, allocations: 464.9 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.4997, allocations: 45.39 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.4997, allocations: 20.91 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-06/0.4997, allocations: 0 / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.4997, allocations: 39.94 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.4997, allocations: 0 / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.4999, allocations: 56.56 kB / 0.9518 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.4999, allocations: 81.05 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.5, allocations: 186.1 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.5, allocations: 30.7 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.5001, allocations: 109.5 kB / 0.9522 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.5001, allocations: 8.141 kB / 0.9522 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.5001, allocations: 22.25 kB / 0.9522 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.5002, allocations: 321.7 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.5002, allocations: 3.375 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.5002, allocations: 18.81 kB / 0.9525 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.5003, allocations: 25.41 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5003, allocations: 9.281 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.104e-05/0.5003, allocations: 58.78 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5003, allocations: 5.719 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5004, allocations: 1.312 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5004, allocations: 0 / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.5004, allocations: 5.5 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.5004, allocations: 1.25 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.5005, allocations: 14.53 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.5005, allocations: 5.391 kB / 0.9527 GB, free: 5.836 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.777e-05/0.5005, allocations: 121.9 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.5006, allocations: 17.41 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.5006, allocations: 7.312 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5006, allocations: 1.375 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5006, allocations: 1.375 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5006, allocations: 3.938 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.5009, allocations: 481.1 kB / 0.9533 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5009, allocations: 4.031 kB / 0.9533 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.5009, allocations: 3.219 kB / 0.9533 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5009, allocations: 5 kB / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.5009, allocations: 5.234 kB / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5009, allocations: 0 / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5009, allocations: 1.031 kB / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.601e-05/0.501, allocations: 75.19 kB / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.501, allocations: 97.41 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.5011, allocations: 5 kB / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.5011, allocations: 5.094 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.5011, allocations: 1.031 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5011, allocations: 1.156 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.5012, allocations: 134.1 kB / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5012, allocations: 0 / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001833/0.5014, allocations: 12.59 kB / 0.9536 GB, free: 4.871 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.0001996/0.5016, allocations: 0.6165 MB / 0.9542 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.574e-05/0.5016, allocations: 18.97 kB / 0.9542 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5017, allocations: 0 / 0.9542 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-06/0.5017, allocations: 8.062 kB / 0.9542 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.5018, allocations: 14.77 kB / 0.9542 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.5027, allocations: 1.417 MB / 0.9556 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.311e-05/0.5028, allocations: 0.7031 MB / 0.9563 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.5028, allocations: 4.656 kB / 0.9563 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.5029, allocations: 36.98 kB / 0.9564 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5029, allocations: 0 / 0.9564 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6709/1.174, allocations: 1.578 MB / 0.9579 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/1.174, allocations: 208.5 kB / 0.9581 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/3.258, allocations: 0 / 0.9581 GB, free: 1.152 MB / 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