Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.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.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",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.0009997/0.0009994, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001289/0.00129, allocations: 172.7 kB / 15.95 MB, free: 208 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.412/1.412, allocations: 223.2 MB / 240 MB, free: 5.312 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.384/2.384, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004263, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8592/0.8596, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001377/0.861, allocations: 1.195 MB / 0.955 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.8613, allocations: 99.05 kB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.8613, allocations: 1.312 kB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.8614, allocations: 3.938 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.8614, allocations: 10.22 kB / 0.9551 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.8616, allocations: 15.52 kB / 0.9551 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.8617, allocations: 38.03 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.8618, allocations: 12.86 kB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.8618, allocations: 14.58 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.8619, allocations: 26.38 kB / 0.9552 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.8619, allocations: 0.9062 kB / 0.9552 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.836e-05/0.862, allocations: 18.42 kB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.862, allocations: 6.406 kB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.862, allocations: 36.2 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.958e-05/0.8621, allocations: 40.17 kB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8621, allocations: 0 / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8621, allocations: 1.531 kB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8622, allocations: 0 / 0.9553 GB, free: 6.906 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.0004343/0.8626, allocations: 383.2 kB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8626, allocations: 9.281 kB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.8627, allocations: 43.69 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.8627, allocations: 10.27 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.569e-05/0.8628, allocations: 171.8 kB / 0.9559 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.8628, allocations: 1.188 kB / 0.9559 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.8628, allocations: 1.219 kB / 0.9559 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.8631, allocations: 84.19 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8631, allocations: 3.938 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.8631, allocations: 1.594 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8631, allocations: 0 / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.8634, allocations: 107.1 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.8637, allocations: 277.3 kB / 0.9564 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.8639, allocations: 82.81 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.864, allocations: 56.72 kB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.8642, allocations: 104.6 kB / 0.9566 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.8642, allocations: 36.02 kB / 0.9566 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8642, allocations: 0 / 0.9566 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005118/0.8648, allocations: 183.7 kB / 0.9568 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.8648, allocations: 53.28 kB / 0.9569 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.8649, allocations: 131.1 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-06/0.8649, allocations: 25.7 kB / 0.957 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.8649, allocations: 90.61 kB / 0.9571 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.8649, allocations: 6 kB / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.865, allocations: 8 kB / 0.9571 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.865, allocations: 317 kB / 0.9574 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.8652, allocations: 43.09 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.8653, allocations: 58.52 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.8654, allocations: 46.77 kB / 0.9576 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8654, allocations: 4 kB / 0.9576 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002857/0.8657, allocations: 130 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.8657, allocations: 5.281 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8657, allocations: 0 / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8658, allocations: 8.891 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.8659, allocations: 22.75 kB / 0.9577 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.8659, allocations: 1.156 kB / 0.9577 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.866, allocations: 28.98 kB / 0.9578 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.866, allocations: 336 / 0.9578 GB, free: 4.762 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.291e-05/0.866, allocations: 112.5 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.8661, allocations: 7.531 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.8664, allocations: 152.4 kB / 0.958 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8664, allocations: 5.016 kB / 0.958 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.8664, allocations: 0 / 0.958 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.8665, allocations: 0 / 0.958 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.8666, allocations: 180.4 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8666, allocations: 1 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.8667, allocations: 18.83 kB / 0.9582 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8667, allocations: 1.281 kB / 0.9582 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8667, allocations: 4 kB / 0.9582 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8667, allocations: 0 / 0.9582 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8667, allocations: 5.234 kB / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.867, allocations: 232.8 kB / 0.9584 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.8671, allocations: 86.39 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.8671, allocations: 3.984 kB / 0.9585 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.8672, allocations: 17.3 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.8672, allocations: 1.875 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.8672, allocations: 3.953 kB / 0.9585 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.8673, allocations: 102.9 kB / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8673, allocations: 5.812 kB / 0.9587 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002176/0.8675, allocations: 7.625 kB / 0.9587 GB, free: 3.934 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.0004935/0.868, allocations: 0.767 MB / 0.9594 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.8683, allocations: 102.9 kB / 0.9595 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8683, allocations: 0 / 0.9595 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.8685, allocations: 54.05 kB / 0.9596 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.8687, allocations: 5.812 kB / 0.9596 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.8691, allocations: 193.7 kB / 0.9597 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.8693, allocations: 0.6916 MB / 0.9604 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.883e-05/0.8693, allocations: 1.375 kB / 0.9604 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.8693, allocations: 20.75 kB / 0.9604 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8693, allocations: 0 / 0.9604 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.8812, allocations: 1.532 MB / 0.9619 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.8814, allocations: 183.8 kB / 0.9621 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.601, allocations: 0 / 0.9621 GB, free: 1.289 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat does not exist to compare? outputFormat=mat