Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0009114/0.0009114, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009873/0.0009872, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.579/2.579, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003778, allocations: 16 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.7997, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001156/0.8009, allocations: 0.5593 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000179/0.8011, allocations: 58.11 kB / 0.9545 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.8011, allocations: 2.969 kB / 0.9545 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.8012, allocations: 7.922 kB / 0.9545 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.8013, allocations: 11.88 kB / 0.9545 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.582e-05/0.8013, allocations: 17.08 kB / 0.9545 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.8015, allocations: 71.12 kB / 0.9546 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.8016, allocations: 43.56 kB / 0.9546 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.8017, allocations: 18.09 kB / 0.9546 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.8017, allocations: 29.25 kB / 0.9546 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.8018, allocations: 2.062 kB / 0.9546 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.8018, allocations: 2.188 kB / 0.9546 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.8018, allocations: 7.188 kB / 0.9547 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.8018, allocations: 41.92 kB / 0.9547 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.228e-05/0.8019, allocations: 70.92 kB / 0.9548 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.802, allocations: 5.062 kB / 0.9548 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/0.802, allocations: 0 / 0.9548 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.802, allocations: 0 / 0.9548 GB, free: 7.41 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.0004131/0.8024, allocations: 371.6 kB / 0.9551 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.8024, allocations: 13.64 kB / 0.9551 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.8025, allocations: 40.97 kB / 0.9552 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.8025, allocations: 17.92 kB / 0.9552 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.8028, allocations: 199.8 kB / 0.9554 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.8028, allocations: 12.34 kB / 0.9554 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.8028, allocations: 9.344 kB / 0.9554 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.803, allocations: 104.6 kB / 0.9555 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.803, allocations: 0 / 0.9555 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.8031, allocations: 4.875 kB / 0.9555 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.8031, allocations: 3.438 kB / 0.9555 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.8032, allocations: 42.41 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.8037, allocations: 470.2 kB / 0.956 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.8038, allocations: 40.62 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.8038, allocations: 23.66 kB / 0.9561 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.8038, allocations: 0 / 0.9561 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.8039, allocations: 35.62 kB / 0.9561 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8039, allocations: 1.188 kB / 0.9561 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.804, allocations: 51 kB / 0.9561 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.8041, allocations: 86.12 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.8043, allocations: 189 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.8043, allocations: 25.7 kB / 0.9564 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.8044, allocations: 113.5 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.8044, allocations: 1.125 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.8044, allocations: 0 / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.8045, allocations: 326 kB / 0.9568 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.8045, allocations: 3.219 kB / 0.9569 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.8045, allocations: 18.69 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.8045, allocations: 11.91 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8045, allocations: 0 / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.769e-05/0.8046, allocations: 67.81 kB / 0.9569 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.8047, allocations: 6.062 kB / 0.957 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8047, allocations: 0 / 0.957 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8047, allocations: 1.281 kB / 0.957 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.8048, allocations: 5.75 kB / 0.957 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8048, allocations: 3.984 kB / 0.957 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.8048, allocations: 10.58 kB / 0.957 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.8048, allocations: 6.406 kB / 0.957 GB, free: 5.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.8049, allocations: 117.3 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.8049, allocations: 17.42 kB / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.805, allocations: 12 kB / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.805, allocations: 1.25 kB / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.805, allocations: 0 / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.805, allocations: 5 kB / 0.9571 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.8053, allocations: 480.4 kB / 0.9576 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8053, allocations: 1.219 kB / 0.9576 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.8054, allocations: 10.66 kB / 0.9576 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.8054, allocations: 1.281 kB / 0.9576 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.8054, allocations: 5.469 kB / 0.9576 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8054, allocations: 7.938 kB / 0.9576 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8054, allocations: 1.25 kB / 0.9576 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.404e-05/0.8055, allocations: 75.56 kB / 0.9577 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.8055, allocations: 92.25 kB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.8056, allocations: 5.344 kB / 0.9578 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.8056, allocations: 0 / 0.9578 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.8056, allocations: 6.328 kB / 0.9578 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.8056, allocations: 0 / 0.9578 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.531e-05/0.8057, allocations: 137.9 kB / 0.9579 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.21e-07/0.8057, allocations: 4.031 kB / 0.9579 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002102/0.8059, allocations: 12.53 kB / 0.9579 GB, free: 4.203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002805/0.8062, allocations: 0.6112 MB / 0.9585 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.523e-05/0.8063, allocations: 21.88 kB / 0.9585 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8063, allocations: 0 / 0.9585 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-06/0.8063, allocations: 4.375 kB / 0.9586 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.8065, allocations: 16.03 kB / 0.9586 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.8073, allocations: 0.6286 MB / 0.9592 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.8075, allocations: 0.6985 MB / 0.9599 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.8075, allocations: 17.52 kB / 0.9599 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.8076, allocations: 31.58 kB / 0.9599 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/0.8076, allocations: 0 / 0.9599 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.8193, allocations: 1.683 MB / 0.9616 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.8196, allocations: 196.8 kB / 0.9617 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.464, allocations: 0 / 0.9617 GB, free: 1.309 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat does not exist to compare? outputFormat=mat