Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.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.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",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.0009116/0.0009116, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001011/0.001011, allocations: 177.3 kB / 15.95 MB, free: 216 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.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.48/2.48, allocations: 390.3 MB / 0.6653 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003385, allocations: 15.98 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7226, allocations: 142.3 MB / 0.9536 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.0008328/0.7235, allocations: 430.7 kB / 0.954 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000747/0.7243, allocations: 0.7927 MB / 0.9548 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.7243, allocations: 0.9375 kB / 0.9548 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.7244, allocations: 3.938 kB / 0.9548 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.7244, allocations: 9.234 kB / 0.9548 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.157e-05/0.7245, allocations: 9.109 kB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.229e-05/0.7246, allocations: 23.66 kB / 0.9548 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.7247, allocations: 5.312 kB / 0.9548 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.7247, allocations: 21.52 kB / 0.9549 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.7248, allocations: 20.34 kB / 0.9549 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.7248, allocations: 1.438 kB / 0.9549 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.7248, allocations: 2.969 kB / 0.9549 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.7248, allocations: 7.984 kB / 0.9549 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.7249, allocations: 32.55 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.414e-05/0.7249, allocations: 25.75 kB / 0.955 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.7249, allocations: 0 / 0.955 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7249, allocations: 0 / 0.955 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.7249, allocations: 0 / 0.955 GB, free: 7.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004568/0.7254, allocations: 369.4 kB / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.7255, allocations: 8.844 kB / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.7255, allocations: 35.73 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.7255, allocations: 10.05 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.832e-05/0.7256, allocations: 165.2 kB / 0.9555 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.7256, allocations: 5.219 kB / 0.9555 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.7256, allocations: 6.062 kB / 0.9555 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.7259, allocations: 80.09 kB / 0.9556 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7259, allocations: 0 / 0.9556 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.7259, allocations: 0 / 0.9556 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7259, allocations: 9.203 kB / 0.9556 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.7262, allocations: 86.64 kB / 0.9557 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.7265, allocations: 267.6 kB / 0.9559 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.7267, allocations: 73.59 kB / 0.956 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.7267, allocations: 5.297 kB / 0.956 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.7268, allocations: 35.69 kB / 0.9561 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.7268, allocations: 0 / 0.9561 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005298/0.7273, allocations: 166.2 kB / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.7273, allocations: 56.31 kB / 0.9563 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.7274, allocations: 107.2 kB / 0.9564 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.7274, allocations: 25.7 kB / 0.9564 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.7275, allocations: 85.98 kB / 0.9565 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.7275, allocations: 25.58 kB / 0.9565 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.7275, allocations: 0 / 0.9565 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.7276, allocations: 316.7 kB / 0.9568 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.7277, allocations: 42.31 kB / 0.9568 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.7278, allocations: 43.81 kB / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.728, allocations: 41.89 kB / 0.9569 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.728, allocations: 1.406 kB / 0.9569 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003075/0.7283, allocations: 115.6 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7283, allocations: 5.562 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7284, allocations: 4 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7284, allocations: 5.141 kB / 0.9571 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.7285, allocations: 18.89 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7285, allocations: 0 / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.7286, allocations: 19.88 kB / 0.9571 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.7286, allocations: 1.094 kB / 0.9571 GB, free: 5.105 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.492e-05/0.7287, allocations: 120.1 kB / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.7287, allocations: 5.938 kB / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.7287, allocations: 9.125 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.7287, allocations: 1.219 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7288, allocations: 3.953 kB / 0.9572 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7288, allocations: 3.938 kB / 0.9572 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.7289, allocations: 165.5 kB / 0.9574 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7289, allocations: 0 / 0.9574 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.729, allocations: 27.86 kB / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.729, allocations: 0 / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.729, allocations: 0.9688 kB / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.729, allocations: 0 / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.729, allocations: 0.9688 kB / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.7294, allocations: 215.5 kB / 0.9576 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.7294, allocations: 81.98 kB / 0.9577 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.7294, allocations: 9.062 kB / 0.9577 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.7295, allocations: 19.27 kB / 0.9577 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.7296, allocations: 6.391 kB / 0.9577 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.7296, allocations: 0 / 0.9577 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.7296, allocations: 89.33 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7296, allocations: 0 / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002117/0.7298, allocations: 7.656 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0005236/0.7304, allocations: 0.7507 MB / 0.9586 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.7307, allocations: 93.59 kB / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7307, allocations: 0 / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.7309, allocations: 55.12 kB / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.7311, allocations: 9.578 kB / 0.9587 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.7315, allocations: 156.9 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.7316, allocations: 0.686 MB / 0.9595 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.7316, allocations: 1.625 kB / 0.9595 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.7317, allocations: 15.38 kB / 0.9595 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7317, allocations: 1.062 kB / 0.9595 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.7438, allocations: 1.277 MB / 0.9608 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.744, allocations: 182.1 kB / 0.961 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.439, allocations: 0 / 0.961 GB, free: 1.898 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat