Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.001198/0.001198, allocations: 84.38 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.001736/0.001736, 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.443/1.443, allocations: 223.2 MB / 240 MB, free: 5.34 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.407/2.407, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7937, allocations: 142.3 MB / 0.9539 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001218/0.795, allocations: 0.5158 MB / 0.9544 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001346/0.7952, allocations: 41.38 kB / 0.9544 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.7952, allocations: 1.219 kB / 0.9544 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.7953, allocations: 3.938 kB / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.7954, allocations: 5.641 kB / 0.9544 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.728e-05/0.7954, allocations: 10.84 kB / 0.9544 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.7956, allocations: 54 kB / 0.9545 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.7957, allocations: 38.59 kB / 0.9545 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.7958, allocations: 13.53 kB / 0.9545 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.7959, allocations: 27.31 kB / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.7959, allocations: 2.438 kB / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.7959, allocations: 1.094 kB / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.7959, allocations: 14.31 kB / 0.9546 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.796, allocations: 37.67 kB / 0.9546 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.851e-05/0.7961, allocations: 48.33 kB / 0.9546 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7961, allocations: 0 / 0.9546 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.118e-06/0.7961, allocations: 0 / 0.9546 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.7961, allocations: 3.938 kB / 0.9547 GB, free: 7.43 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.0004625/0.7966, allocations: 366.5 kB / 0.955 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.7967, allocations: 10.06 kB / 0.955 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.7967, allocations: 35.97 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.7968, allocations: 20.8 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.797, allocations: 189.8 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.797, allocations: 3.188 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.797, allocations: 8.281 kB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.7972, allocations: 93.7 kB / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7972, allocations: 0 / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7973, allocations: 1.094 kB / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.7973, allocations: 2.094 kB / 0.9554 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.7974, allocations: 51.78 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.7979, allocations: 432.9 kB / 0.9558 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.798, allocations: 37.69 kB / 0.9558 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.798, allocations: 22.84 kB / 0.9559 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.7981, allocations: 1.5 kB / 0.9559 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.7981, allocations: 35.47 kB / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7981, allocations: 0 / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.7983, allocations: 55.38 kB / 0.956 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.7983, allocations: 81.36 kB / 0.956 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.7985, allocations: 162.2 kB / 0.9562 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.7985, allocations: 25.7 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.7985, allocations: 105.3 kB / 0.9563 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.7986, allocations: 9.031 kB / 0.9563 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7986, allocations: 0 / 0.9563 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.7986, allocations: 321.5 kB / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.7987, allocations: 10.42 kB / 0.9566 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.7987, allocations: 22.12 kB / 0.9567 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.7987, allocations: 9.125 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7987, allocations: 3.938 kB / 0.9567 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.484e-05/0.7988, allocations: 62.66 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7988, allocations: 5.375 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7988, allocations: 1.438 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7988, allocations: 0 / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.7989, allocations: 6.75 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7989, allocations: 8 kB / 0.9568 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.799, allocations: 3.125 kB / 0.9568 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.799, allocations: 1.438 kB / 0.9568 GB, free: 5.27 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 6.343e-05/0.799, allocations: 116 kB / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.7991, allocations: 8.031 kB / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.7991, allocations: 15.14 kB / 0.9569 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7991, allocations: 1.062 kB / 0.9569 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7991, allocations: 1 kB / 0.9569 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7991, allocations: 4 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.7994, allocations: 470 kB / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7994, allocations: 1.656 kB / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.7995, allocations: 3.312 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7995, allocations: 0 / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.7995, allocations: 1.25 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7995, allocations: 3.984 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7995, allocations: 1.5 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.537e-05/0.7996, allocations: 87.02 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.7996, allocations: 91.05 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.7996, allocations: 1.031 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.7996, allocations: 1.031 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.7997, allocations: 0.9688 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.7997, allocations: 4.969 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.7998, allocations: 128.8 kB / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7998, allocations: 0 / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002005/0.8, allocations: 11.53 kB / 0.9577 GB, free: 4.316 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.0002575/0.8002, allocations: 0.6111 MB / 0.9583 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.801e-05/0.8003, allocations: 18.12 kB / 0.9583 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8003, allocations: 0 / 0.9583 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.8003, allocations: 8.781 kB / 0.9583 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.8005, allocations: 12.42 kB / 0.9583 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/0.8014, allocations: 0.5426 MB / 0.9588 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.8016, allocations: 0.6994 MB / 0.9595 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.8016, allocations: 4.406 kB / 0.9595 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.8017, allocations: 27.36 kB / 0.9595 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.8017, allocations: 3.938 kB / 0.9595 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.8137, allocations: 1.488 MB / 0.961 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/0.8139, allocations: 194.4 kB / 0.9612 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.537, allocations: 2.953 kB / 0.9612 GB, free: 1.555 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat does not exist to compare? outputFormat=mat