Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",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.0009279/0.000928, allocations: 91.84 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.001187/0.001187, 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.413/1.413, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.607/2.607, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.725, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001887/0.7269, allocations: 1.167 MB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.728, allocations: 0.5233 MB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.728, allocations: 7.938 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.7281, allocations: 3.938 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.7281, allocations: 7.922 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.7285, allocations: 31.97 kB / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.235e-05/0.7285, allocations: 27.84 kB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.7287, allocations: 4 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.7288, allocations: 15.92 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.7288, allocations: 8 kB / 0.9829 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.7288, allocations: 4 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.729, allocations: 55.94 kB / 0.9829 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.729, allocations: 7.922 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.729, allocations: 25.7 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.7292, allocations: 47.94 kB / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7292, allocations: 0 / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7292, allocations: 0 / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.7292, allocations: 0 / 0.983 GB, free: 4.285 MB / 0.7325 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.00046/0.7297, allocations: 349.4 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.7297, allocations: 8.031 kB / 0.9834 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.7298, allocations: 38.56 kB / 0.9834 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.7298, allocations: 0 / 0.9834 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.73, allocations: 163.1 kB / 0.9836 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.73, allocations: 0 / 0.9836 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.73, allocations: 0 / 0.9836 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.7302, allocations: 57.56 kB / 0.9836 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.7302, allocations: 0 / 0.9836 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.7302, allocations: 4 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.7303, allocations: 0 / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.99e-05/0.7304, allocations: 27.92 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.7308, allocations: 245 kB / 0.9839 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.7309, allocations: 42.45 kB / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.731, allocations: 20.91 kB / 0.9839 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/0.7318, allocations: 0.4897 MB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.7318, allocations: 34.56 kB / 0.9844 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7318, allocations: 0 / 0.9844 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002664/0.7321, allocations: 73.58 kB / 0.9845 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.7322, allocations: 51.41 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.7323, allocations: 113.8 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.7323, allocations: 25.7 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.7324, allocations: 88.12 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.7324, allocations: 12.03 kB / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.7324, allocations: 0 / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7325, allocations: 314.8 kB / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.395e-05/0.7326, allocations: 15.98 kB / 0.9851 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.7326, allocations: 8 kB / 0.9851 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.7327, allocations: 15.98 kB / 0.9851 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7327, allocations: 4.062 kB / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.7328, allocations: 57.64 kB / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7329, allocations: 8 kB / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7329, allocations: 0 / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7329, allocations: 0 / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.733, allocations: 4 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.733, allocations: 3.984 kB / 0.9852 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.733, allocations: 11.97 kB / 0.9852 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.7331, allocations: 3.938 kB / 0.9852 GB, free: 1.715 MB / 0.7325 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 9.695e-05/0.7332, allocations: 109.8 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.7332, allocations: 7.859 kB / 0.9853 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.7334, allocations: 65.2 kB / 0.9854 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7334, allocations: 0 / 0.9854 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7334, allocations: 8.031 kB / 0.9854 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7334, allocations: 4 kB / 0.9854 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.7336, allocations: 161.7 kB / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7336, allocations: 0 / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.7336, allocations: 4 kB / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7337, allocations: 7.938 kB / 0.9856 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.7337, allocations: 3.953 kB / 0.9856 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7337, allocations: 0 / 0.9856 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7337, allocations: 3.984 kB / 0.9856 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.7339, allocations: 151.5 kB / 0.9857 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.7339, allocations: 85.02 kB / 0.9858 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.734, allocations: 0 / 0.9858 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.734, allocations: 11.94 kB / 0.9858 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.7341, allocations: 4 kB / 0.9858 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.7341, allocations: 0 / 0.9858 GB, free: 1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.7341, allocations: 91.61 kB / 0.9859 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7341, allocations: 0 / 0.9859 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002401/0.7344, allocations: 20 kB / 0.9859 GB, free: 0.8906 MB / 0.7325 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.0005084/0.7349, allocations: 0.7007 MB / 0.9866 GB, free: 164 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.735, allocations: 27.98 kB / 0.9866 GB, free: 136 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7351, allocations: 0 / 0.9866 GB, free: 136 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.7351, allocations: 11.98 kB / 0.9866 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.7353, allocations: 13.14 kB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.7358, allocations: 178.3 kB / 0.9868 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.7361, allocations: 0.6808 MB / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.7361, allocations: 0 / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.7361, allocations: 15.44 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.7361, allocations: 0 / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.7483, allocations: 1.394 MB / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.7486, allocations: 184.8 kB / 0.989 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.586, allocations: 2.812 kB / 0.9891 GB, free: 13.67 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat does not exist to compare? outputFormat=mat