Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",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.0009928/0.0009929, 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.001522/0.001522, 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.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.43 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.66/2.66, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9337/0.9341, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001997/0.9361, allocations: 1.15 MB / 0.955 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000517/0.9367, allocations: 174.6 kB / 0.9551 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.9367, allocations: 4 kB / 0.9551 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.9368, allocations: 0 / 0.9551 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.9369, allocations: 5.328 kB / 0.9551 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.9372, allocations: 24.17 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.9373, allocations: 24.67 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.9374, allocations: 3 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.9375, allocations: 6.391 kB / 0.9552 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.9375, allocations: 14.7 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.9376, allocations: 1.344 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.9377, allocations: 32.25 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.9377, allocations: 4 kB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.9377, allocations: 27.02 kB / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.652e-05/0.9378, allocations: 31.66 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9378, allocations: 0 / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9378, allocations: 3.938 kB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.9378, allocations: 1.094 kB / 0.9553 GB, free: 6.926 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003907/0.9382, allocations: 347.7 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.9383, allocations: 9.281 kB / 0.9557 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.9383, allocations: 34.56 kB / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.9384, allocations: 14.16 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.9385, allocations: 168.3 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.9385, allocations: 1.469 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.9385, allocations: 1.094 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.9387, allocations: 57.12 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.9387, allocations: 5.281 kB / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.9387, allocations: 0 / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.9387, allocations: 0 / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.9389, allocations: 48.61 kB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.9392, allocations: 253.2 kB / 0.9562 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.9393, allocations: 40.75 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.9394, allocations: 31.36 kB / 0.9563 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.9394, allocations: 83.58 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.9395, allocations: 35.56 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9395, allocations: 0 / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003572/0.9398, allocations: 107.6 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.9399, allocations: 52.91 kB / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.9399, allocations: 103.1 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.9399, allocations: 26.7 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.94, allocations: 85.33 kB / 0.9567 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.94, allocations: 5.094 kB / 0.9568 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.94, allocations: 0 / 0.9568 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.9401, allocations: 316 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.9401, allocations: 30.22 kB / 0.9571 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.9402, allocations: 18.33 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.406e-05/0.9403, allocations: 26.83 kB / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.9403, allocations: 0 / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001705/0.9405, allocations: 77.78 kB / 0.9572 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.9405, allocations: 4.906 kB / 0.9572 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.9405, allocations: 5.438 kB / 0.9572 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.9405, allocations: 3.953 kB / 0.9572 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.9406, allocations: 12.8 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.9406, allocations: 0 / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.9407, allocations: 5.844 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.9407, allocations: 1.406 kB / 0.9572 GB, free: 4.984 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 (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 prepare postOptimizeDAE: time 6.161e-05/0.9408, allocations: 119.5 kB / 0.9573 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.9408, allocations: 8.891 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.941, allocations: 80.88 kB / 0.9574 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.941, allocations: 1.469 kB / 0.9574 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.941, allocations: 3.953 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.941, allocations: 4.031 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.9412, allocations: 158.1 kB / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9412, allocations: 5.266 kB / 0.9576 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.9412, allocations: 12.84 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.9412, allocations: 0 / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.9412, allocations: 0 / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9412, allocations: 1.438 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9412, allocations: 0 / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.9414, allocations: 172.6 kB / 0.9578 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.9415, allocations: 86.44 kB / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.9415, allocations: 1.469 kB / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.9416, allocations: 9.594 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.9416, allocations: 9.266 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.9416, allocations: 1.375 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.9417, allocations: 86.33 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9417, allocations: 0 / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002238/0.9419, allocations: 14.56 kB / 0.958 GB, free: 4.23 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 (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.0004297/0.9423, allocations: 0.7132 MB / 0.9587 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.9425, allocations: 46.84 kB / 0.9587 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9425, allocations: 0 / 0.9587 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.467e-05/0.9426, allocations: 24.14 kB / 0.9587 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.9429, allocations: 10.36 kB / 0.9588 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.9433, allocations: 144.3 kB / 0.9589 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.9434, allocations: 0.6744 MB / 0.9595 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.9435, allocations: 5.078 kB / 0.9596 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.9435, allocations: 12.17 kB / 0.9596 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9435, allocations: 0 / 0.9596 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.9585, allocations: 1.182 MB / 0.9607 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.9588, allocations: 184.8 kB / 0.9609 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.635, allocations: 0 / 0.9609 GB, free: 1.852 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat does not exist to compare? outputFormat=mat