Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0009634/0.0009635, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001103/0.001103, allocations: 168.7 kB / 15.95 MB, free: 204 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.405/1.405, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.424/2.424, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004466, allocations: 19.98 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6629, allocations: 146.8 MB / 0.9811 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006295/0.6636, allocations: 325.5 kB / 0.9815 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005391/0.6641, allocations: 317.6 kB / 0.9818 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.889e-05/0.6642, allocations: 4 kB / 0.9818 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.067e-05/0.6642, allocations: 0 / 0.9818 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.6e-05/0.6642, allocations: 4 kB / 0.9818 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.6646, allocations: 79.77 kB / 0.9818 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.745e-05/0.6646, allocations: 4 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.6646, allocations: 0 / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.6647, allocations: 7.984 kB / 0.9819 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.6647, allocations: 7.984 kB / 0.9819 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.6647, allocations: 3.938 kB / 0.9819 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.6651, allocations: 271.6 kB / 0.9821 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.6651, allocations: 0 / 0.9821 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.6651, allocations: 33.64 kB / 0.9822 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.6653, allocations: 59.89 kB / 0.9822 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6653, allocations: 0 / 0.9822 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6653, allocations: 0 / 0.9822 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.6653, allocations: 0 / 0.9822 GB, free: 5.191 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003051/0.6656, allocations: 335.3 kB / 0.9825 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6656, allocations: 8.031 kB / 0.9825 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.6657, allocations: 34.56 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.6657, allocations: 4 kB / 0.9826 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.6658, allocations: 165.3 kB / 0.9827 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.6659, allocations: 3.984 kB / 0.9827 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.6659, allocations: 4 kB / 0.9827 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/0.666, allocations: 37.59 kB / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.666, allocations: 0 / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.666, allocations: 0 / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.666, allocations: 0 / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.666, allocations: 4 kB / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.6662, allocations: 157.7 kB / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.6662, allocations: 22.58 kB / 0.983 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.6663, allocations: 8.844 kB / 0.983 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/0.667, allocations: 461.5 kB / 0.9834 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.667, allocations: 34.5 kB / 0.9834 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.667, allocations: 0 / 0.9834 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000474/0.6675, allocations: 254.5 kB / 0.9837 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.6675, allocations: 63.39 kB / 0.9837 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.6676, allocations: 89.86 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.6676, allocations: 29.7 kB / 0.9839 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.6676, allocations: 84.14 kB / 0.9839 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.6677, allocations: 11.78 kB / 0.9839 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.6677, allocations: 0 / 0.9839 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6678, allocations: 314.8 kB / 0.9842 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.6678, allocations: 8.109 kB / 0.9843 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.6679, allocations: 17.72 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.6679, allocations: 8 kB / 0.9843 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.6679, allocations: 4 kB / 0.9843 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.156e-05/0.668, allocations: 53.62 kB / 0.9843 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.668, allocations: 5.406 kB / 0.9843 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.668, allocations: 0 / 0.9843 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.668, allocations: 7.953 kB / 0.9843 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.6681, allocations: 12.06 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6681, allocations: 3.938 kB / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.6681, allocations: 0 / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.6681, allocations: 4 kB / 0.9844 GB, free: 2.617 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.325e-05/0.6682, allocations: 113.8 kB / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.6682, allocations: 3.906 kB / 0.9845 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.6684, allocations: 53.12 kB / 0.9845 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.6684, allocations: 11.95 kB / 0.9845 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6684, allocations: 0 / 0.9845 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6684, allocations: 0 / 0.9845 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.6685, allocations: 157.7 kB / 0.9847 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6685, allocations: 0 / 0.9847 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.6686, allocations: 7.984 kB / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6686, allocations: 192 / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.6686, allocations: 0 / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6686, allocations: 0 / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6686, allocations: 7.953 kB / 0.9847 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.6687, allocations: 85.05 kB / 0.9848 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.6688, allocations: 77.11 kB / 0.9849 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.6688, allocations: 0 / 0.9849 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.883e-05/0.6688, allocations: 8.016 kB / 0.9849 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.6689, allocations: 0 / 0.9849 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.6689, allocations: 7.953 kB / 0.9849 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.6689, allocations: 83.28 kB / 0.985 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.664e-06/0.6689, allocations: 4.156 kB / 0.985 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002155/0.6691, allocations: 23.94 kB / 0.985 GB, free: 1.883 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0004633/0.6696, allocations: 0.6436 MB / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.325e-05/0.6697, allocations: 12 kB / 0.9856 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6697, allocations: 4.188 kB / 0.9856 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.6697, allocations: 8 kB / 0.9856 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.6699, allocations: 3.984 kB / 0.9856 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.6704, allocations: 367.4 kB / 0.986 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.6706, allocations: 0.677 MB / 0.9867 GB, free: 68 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.6706, allocations: 11.98 kB / 0.9867 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.6707, allocations: 11.44 kB / 0.9867 GB, free: 44 kB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.6707, allocations: 0 / 0.9867 GB, free: 44 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.6839, allocations: 1.533 MB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/0.6843, allocations: 217 kB / 0.9884 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.453, allocations: 0 / 0.9884 GB, free: 14.46 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat does not exist to compare? outputFormat=mat