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.001593/0.001593, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001836/0.001837, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.733/2.733, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.55/4.55, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005859/0.0005862, allocations: 12 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477/1.477, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001136/1.478, allocations: 325.6 kB / 0.9812 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009815/1.479, allocations: 313.7 kB / 0.9815 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/1.479, allocations: 0 / 0.9815 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/1.479, allocations: 0 / 0.9815 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/1.48, allocations: 3.938 kB / 0.9815 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/1.48, allocations: 75.78 kB / 0.9816 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.751e-05/1.48, allocations: 7.984 kB / 0.9816 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/1.48, allocations: 4 kB / 0.9816 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/1.48, allocations: 0 / 0.9816 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/1.481, allocations: 7.984 kB / 0.9816 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/1.481, allocations: 3.938 kB / 0.9816 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/1.481, allocations: 259.6 kB / 0.9818 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/1.481, allocations: 7.938 kB / 0.9818 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/1.481, allocations: 33.7 kB / 0.9819 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/1.482, allocations: 59.88 kB / 0.9819 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/1.482, allocations: 0 / 0.9819 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.518e-06/1.482, allocations: 0 / 0.9819 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.166e-06/1.482, allocations: 0 / 0.9819 GB, free: 5.242 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.0006175/1.482, allocations: 339.3 kB / 0.9823 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.855e-05/1.482, allocations: 8.031 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/1.482, allocations: 34.56 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/1.483, allocations: 0 / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/1.483, allocations: 165.3 kB / 0.9824 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/1.483, allocations: 0 / 0.9824 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/1.483, allocations: 4 kB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/1.483, allocations: 41.64 kB / 0.9825 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.483, allocations: 0 / 0.9825 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/1.483, allocations: 0 / 0.9825 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.483, allocations: 3.938 kB / 0.9825 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/1.483, allocations: 4 kB / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/1.483, allocations: 161.7 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.429e-05/1.484, allocations: 18.58 kB / 0.9827 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.485, allocations: 461.5 kB / 0.9831 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/1.485, allocations: 34.56 kB / 0.9831 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/1.485, allocations: 0 / 0.9831 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0008982/1.486, allocations: 254.3 kB / 0.9834 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/1.486, allocations: 55.34 kB / 0.9834 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/1.486, allocations: 110 kB / 0.9835 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/1.486, allocations: 25.7 kB / 0.9836 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/1.486, allocations: 80.14 kB / 0.9836 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/1.486, allocations: 7.844 kB / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/1.486, allocations: 0 / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.486, allocations: 318.8 kB / 0.984 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/1.486, allocations: 0 / 0.984 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/1.487, allocations: 25.73 kB / 0.984 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/1.487, allocations: 12.12 kB / 0.984 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/1.487, allocations: 0 / 0.984 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001535/1.487, allocations: 53.62 kB / 0.984 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/1.487, allocations: 4 kB / 0.984 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.487, allocations: 0 / 0.984 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.487, allocations: 7.953 kB / 0.9841 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/1.487, allocations: 4 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.487, allocations: 3.938 kB / 0.9841 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/1.487, allocations: 8.062 kB / 0.9841 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.487, allocations: 0 / 0.9841 GB, free: 2.68 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 0.0001359/1.487, allocations: 109.8 kB / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/1.487, allocations: 7.906 kB / 0.9842 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/1.487, allocations: 57.11 kB / 0.9842 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.487, allocations: 0 / 0.9842 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.487, allocations: 3.953 kB / 0.9842 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.488, allocations: 4 kB / 0.9842 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/1.488, allocations: 153.7 kB / 0.9844 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.488, allocations: 0 / 0.9844 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.031e-05/1.488, allocations: 4 kB / 0.9844 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.488, allocations: 4 kB / 0.9844 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.488, allocations: 0 / 0.9844 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.488, allocations: 0 / 0.9844 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.488, allocations: 0 / 0.9844 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/1.488, allocations: 89 kB / 0.9845 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/1.488, allocations: 77.11 kB / 0.9846 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/1.488, allocations: 4.031 kB / 0.9846 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/1.488, allocations: 0 / 0.9846 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/1.488, allocations: 4 kB / 0.9846 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.488, allocations: 11.92 kB / 0.9846 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.013e-05/1.488, allocations: 79.23 kB / 0.9847 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.488, allocations: 0 / 0.9847 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000427/1.489, allocations: 24 kB / 0.9847 GB, free: 1.957 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.0007935/1.49, allocations: 0.6399 MB / 0.9853 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001196/1.49, allocations: 23.92 kB / 0.9853 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.49, allocations: 0 / 0.9853 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/1.49, allocations: 4 kB / 0.9853 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/1.49, allocations: 5.203 kB / 0.9853 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/1.491, allocations: 0.5177 MB / 0.9858 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/1.491, allocations: 0.677 MB / 0.9865 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.574e-05/1.491, allocations: 19.97 kB / 0.9865 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/1.492, allocations: 11.44 kB / 0.9865 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/1.492, allocations: 0 / 0.9865 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/1.514, allocations: 1.511 MB / 0.988 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004949/1.514, allocations: 218.1 kB / 0.9882 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/4.237, allocations: 0 / 0.9882 GB, free: 14.38 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