Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",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.001078/0.001078, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001185/0.001185, allocations: 172.7 kB / 15.95 MB, free: 192 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.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.402 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.541/2.541, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7942, allocations: 142.3 MB / 0.9539 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.0009603/0.7953, allocations: 0.5564 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.7954, allocations: 50.16 kB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.7954, allocations: 2.469 kB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.7955, allocations: 7.922 kB / 0.9545 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.7956, allocations: 5.25 kB / 0.9545 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.769e-05/0.7956, allocations: 23.67 kB / 0.9545 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.7958, allocations: 71.53 kB / 0.9546 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.7959, allocations: 43.8 kB / 0.9546 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.796, allocations: 32.3 kB / 0.9546 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.796, allocations: 21.67 kB / 0.9547 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.7961, allocations: 1.531 kB / 0.9547 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.7961, allocations: 2.906 kB / 0.9547 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.7961, allocations: 10.39 kB / 0.9547 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.7961, allocations: 38.73 kB / 0.9547 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.026e-05/0.7962, allocations: 67.16 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7962, allocations: 0 / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7962, allocations: 0 / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.7962, allocations: 0 / 0.9548 GB, free: 7.453 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.0003605/0.7966, allocations: 388 kB / 0.9551 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.7967, allocations: 9.031 kB / 0.9551 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.7967, allocations: 44.77 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.7967, allocations: 18.48 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.7969, allocations: 193 kB / 0.9554 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.797, allocations: 15.92 kB / 0.9554 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.797, allocations: 8.75 kB / 0.9554 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.7971, allocations: 112.7 kB / 0.9555 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7972, allocations: 0 / 0.9555 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.7972, allocations: 5.5 kB / 0.9555 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.7972, allocations: 2.75 kB / 0.9555 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.7973, allocations: 43.03 kB / 0.9556 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.7978, allocations: 473.2 kB / 0.956 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.7979, allocations: 48.55 kB / 0.9561 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.7979, allocations: 29.09 kB / 0.9561 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.7979, allocations: 4 kB / 0.9561 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.798, allocations: 39.73 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.798, allocations: 0 / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000183/0.7981, allocations: 67.8 kB / 0.9562 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.7982, allocations: 82.45 kB / 0.9563 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.7983, allocations: 173 kB / 0.9564 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.7984, allocations: 29.95 kB / 0.9565 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.7984, allocations: 108.9 kB / 0.9566 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.7984, allocations: 10.25 kB / 0.9566 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.7984, allocations: 0 / 0.9566 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.7985, allocations: 322.1 kB / 0.9569 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.7985, allocations: 8.969 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.7986, allocations: 28.02 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.7986, allocations: 9.938 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7986, allocations: 5.281 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.281e-05/0.7987, allocations: 70.88 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7987, allocations: 6.688 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7987, allocations: 0 / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.7987, allocations: 1.531 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.7988, allocations: 8.25 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.7988, allocations: 0.875 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.7989, allocations: 13.98 kB / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.7989, allocations: 1.188 kB / 0.957 GB, free: 5.188 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 (6): * Single equations (assignments): 6 * 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 6.433e-05/0.799, allocations: 126.9 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.799, allocations: 8.469 kB / 0.9572 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.799, allocations: 11.53 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.799, allocations: 1.188 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.799, allocations: 1 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7991, allocations: 1.094 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.7994, allocations: 0.5095 MB / 0.9577 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7994, allocations: 1 kB / 0.9577 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.7995, allocations: 10.75 kB / 0.9577 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7995, allocations: 5.281 kB / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.7995, allocations: 5.375 kB / 0.9577 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.7995, allocations: 5.359 kB / 0.9577 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7995, allocations: 1.344 kB / 0.9577 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.677e-05/0.7996, allocations: 102.6 kB / 0.9578 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.7996, allocations: 93.84 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.7997, allocations: 1.25 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.7997, allocations: 4.906 kB / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.7997, allocations: 11.06 kB / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.7997, allocations: 2.281 kB / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.421e-05/0.7998, allocations: 134.2 kB / 0.958 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7998, allocations: 0 / 0.958 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001982/0.8, allocations: 13.28 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0002643/0.8003, allocations: 0.6439 MB / 0.9587 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.997e-05/0.8004, allocations: 24.48 kB / 0.9587 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8004, allocations: 0 / 0.9587 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.8004, allocations: 19.91 kB / 0.9587 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.8006, allocations: 16.42 kB / 0.9587 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.8013, allocations: 0.6192 MB / 0.9594 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.8015, allocations: 0.7039 MB / 0.96 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.8015, allocations: 13.14 kB / 0.9601 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.8016, allocations: 31.83 kB / 0.9601 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8016, allocations: 0 / 0.9601 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.8129, allocations: 1.634 MB / 0.9617 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.8131, allocations: 193.1 kB / 0.9619 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.447, allocations: 0 / 0.9619 GB, free: 1.246 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat does not exist to compare? outputFormat=mat