Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.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.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",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.0009243/0.0009243, allocations: 91.45 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.001257/0.001256, 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.39/1.39, allocations: 223.3 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.482/2.482, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8548, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001521/0.8563, allocations: 1.187 MB / 0.955 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00029/0.8566, allocations: 121.3 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.8567, allocations: 1.25 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.8567, allocations: 0 / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.8568, allocations: 11.38 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.857, allocations: 20.34 kB / 0.9551 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.8571, allocations: 42.62 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.8572, allocations: 4 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.8573, allocations: 19.17 kB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.8573, allocations: 22.88 kB / 0.9552 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.8574, allocations: 2.625 kB / 0.9552 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.8574, allocations: 40.42 kB / 0.9553 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.8575, allocations: 12.06 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.8575, allocations: 28.55 kB / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.8576, allocations: 44.77 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.8576, allocations: 3.938 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8576, allocations: 0 / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8577, allocations: 0 / 0.9554 GB, free: 6.867 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004781/0.8581, allocations: 393.4 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8582, allocations: 8.438 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.8582, allocations: 41.06 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.8583, allocations: 14.67 kB / 0.9558 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/0.8584, allocations: 174.1 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.8584, allocations: 5.438 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.8584, allocations: 2.375 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.8587, allocations: 122.7 kB / 0.9561 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8587, allocations: 0 / 0.9561 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.8587, allocations: 0 / 0.9561 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.8588, allocations: 12.69 kB / 0.9561 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.8591, allocations: 152.9 kB / 0.9562 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.8595, allocations: 342.1 kB / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.8597, allocations: 67.56 kB / 0.9566 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.8599, allocations: 49.39 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.8601, allocations: 120.6 kB / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.8601, allocations: 39.44 kB / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8601, allocations: 0.9688 kB / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005343/0.8607, allocations: 161.5 kB / 0.957 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.8607, allocations: 52.5 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.8609, allocations: 151.3 kB / 0.9572 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.8609, allocations: 25.7 kB / 0.9572 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.8609, allocations: 125.3 kB / 0.9573 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.8609, allocations: 10.25 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.861, allocations: 4 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.861, allocations: 325 kB / 0.9577 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.8612, allocations: 58.58 kB / 0.9577 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.8614, allocations: 126.5 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.8615, allocations: 78.09 kB / 0.9579 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8615, allocations: 0 / 0.9579 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004197/0.862, allocations: 202.6 kB / 0.9581 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.862, allocations: 5.406 kB / 0.9581 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.862, allocations: 6.344 kB / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.862, allocations: 4.531 kB / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.8622, allocations: 45.78 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8622, allocations: 3.938 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.8623, allocations: 31.73 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.8623, allocations: 7.688 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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.798e-05/0.8624, allocations: 131.7 kB / 0.9583 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.8624, allocations: 7.688 kB / 0.9583 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.8628, allocations: 141.8 kB / 0.9585 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8628, allocations: 5.328 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8628, allocations: 288 / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.8628, allocations: 0 / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.863, allocations: 174.6 kB / 0.9586 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.863, allocations: 7.984 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.092e-05/0.8631, allocations: 23.31 kB / 0.9587 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8631, allocations: 5.406 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.8631, allocations: 4 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8631, allocations: 1.25 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8631, allocations: 0 / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.8634, allocations: 223.6 kB / 0.9589 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.8635, allocations: 82.88 kB / 0.959 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.8635, allocations: 0 / 0.959 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.8636, allocations: 24.61 kB / 0.959 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.8636, allocations: 5.734 kB / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.8636, allocations: 1.781 kB / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.8637, allocations: 105.4 kB / 0.9591 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8637, allocations: 1.812 kB / 0.9591 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002571/0.864, allocations: 18.06 kB / 0.9591 GB, free: 3.594 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.0005076/0.8645, allocations: 0.7578 MB / 0.9599 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.8648, allocations: 126.8 kB / 0.96 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8648, allocations: 0 / 0.96 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.865, allocations: 55.52 kB / 0.96 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.8653, allocations: 6.75 kB / 0.96 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.8657, allocations: 216 kB / 0.9602 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.8659, allocations: 0.6969 MB / 0.9609 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.064e-05/0.866, allocations: 24.78 kB / 0.961 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.866, allocations: 20.94 kB / 0.961 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.866, allocations: 0 / 0.961 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.8847, allocations: 1.838 MB / 0.9628 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.885, allocations: 172.8 kB / 0.9629 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.584, allocations: 5.062 kB / 0.9629 GB, free: 0.7617 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat does not exist to compare? outputFormat=mat