Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",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.001087/0.001087, allocations: 91.22 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.001426/0.001426, 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.531/2.531, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6798, allocations: 146.8 MB / 0.9812 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006527/0.6805, allocations: 309.6 kB / 0.9814 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.6807, allocations: 51.83 kB / 0.9815 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.6807, allocations: 0 / 0.9815 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.6807, allocations: 0 / 0.9815 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.6807, allocations: 3.938 kB / 0.9815 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.6809, allocations: 15.97 kB / 0.9815 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.485e-05/0.681, allocations: 0 / 0.9815 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.681, allocations: 4 kB / 0.9815 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.301e-05/0.681, allocations: 4 kB / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.6811, allocations: 0 / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.6811, allocations: 0 / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.6812, allocations: 15.98 kB / 0.9815 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.63e-06/0.6812, allocations: 0 / 0.9815 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.6812, allocations: 29.7 kB / 0.9816 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.645e-05/0.6813, allocations: 7.984 kB / 0.9816 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6813, allocations: 0 / 0.9816 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6813, allocations: 0 / 0.9816 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.6813, allocations: 0 / 0.9816 GB, free: 5.805 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002367/0.6815, allocations: 323.4 kB / 0.9819 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6816, allocations: 8.031 kB / 0.9819 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.6816, allocations: 30.56 kB / 0.9819 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.6818, allocations: 15.97 kB / 0.9819 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.6819, allocations: 163 kB / 0.9821 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-06/0.682, allocations: 0 / 0.9821 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.682, allocations: 4 kB / 0.9821 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.6821, allocations: 41.64 kB / 0.9821 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.6821, allocations: 0 / 0.9821 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.6821, allocations: 0 / 0.9821 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6822, allocations: 7.969 kB / 0.9821 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.154e-05/0.6822, allocations: 8 kB / 0.9821 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.6824, allocations: 157.7 kB / 0.9823 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.6824, allocations: 30.48 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.6825, allocations: 8.844 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.6825, allocations: 4.062 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.6825, allocations: 34.5 kB / 0.9824 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.6825, allocations: 0 / 0.9824 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002107/0.6828, allocations: 53.62 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.6828, allocations: 55.53 kB / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.476e-05/0.6828, allocations: 93.8 kB / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.6829, allocations: 25.7 kB / 0.9826 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.6829, allocations: 80.14 kB / 0.9827 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.6829, allocations: 3.906 kB / 0.9827 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.6829, allocations: 0 / 0.9827 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.683, allocations: 310.8 kB / 0.983 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.6831, allocations: 7.984 kB / 0.983 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.6831, allocations: 8 kB / 0.983 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.6832, allocations: 7.984 kB / 0.983 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6832, allocations: 0 / 0.983 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001035/0.6833, allocations: 41.69 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6833, allocations: 4 kB / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6833, allocations: 4 kB / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6833, allocations: 0 / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.6834, allocations: 12.03 kB / 0.9831 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6834, allocations: 4 kB / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.6834, allocations: 0 / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.6835, allocations: 0 / 0.9831 GB, free: 4.062 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 (1): * Single equations (assignments): 1 * 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 7.04e-05/0.6835, allocations: 109.8 kB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.6835, allocations: 4 kB / 0.9832 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.6836, allocations: 3.125 kB / 0.9832 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.6836, allocations: 0 / 0.9832 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6836, allocations: 3.953 kB / 0.9832 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6836, allocations: 7.984 kB / 0.9832 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.6837, allocations: 145.7 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6837, allocations: 0 / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.6837, allocations: 7.984 kB / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6837, allocations: 0 / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.6838, allocations: 0 / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6838, allocations: 3.938 kB / 0.9833 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6838, allocations: 4 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.6839, allocations: 65.08 kB / 0.9834 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.684, allocations: 79.36 kB / 0.9835 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.684, allocations: 3.984 kB / 0.9835 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.684, allocations: 4 kB / 0.9835 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.684, allocations: 3.938 kB / 0.9835 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.684, allocations: 4 kB / 0.9835 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.6841, allocations: 75.28 kB / 0.9836 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6841, allocations: 7.969 kB / 0.9836 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001747/0.6842, allocations: 7.953 kB / 0.9836 GB, free: 3.441 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 (1): * Single equations (assignments): 1 * 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.0003895/0.6846, allocations: 0.593 MB / 0.9842 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.6848, allocations: 16.02 kB / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.6848, allocations: 0 / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.6848, allocations: 7.938 kB / 0.9842 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.685, allocations: 4 kB / 0.9842 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.6852, allocations: 104.4 kB / 0.9843 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.6855, allocations: 0.673 MB / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.6855, allocations: 8.125 kB / 0.9849 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.6856, allocations: 7.438 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6856, allocations: 0 / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009593/0.6952, allocations: 0.7674 MB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.6953, allocations: 194.1 kB / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.427, allocations: 4.062 kB / 0.9859 GB, free: 1.062 MB / 0.7325 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat does not exist to compare? outputFormat=mat