Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.952/1.952, allocations: 387.1 MB / 399.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 173 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 102.3 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.877e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2079, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7111/0.9191, allocations: 149.2 MB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.9193, allocations: 76.28 kB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.9306, allocations: 4.574 MB / 1.363 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9307, allocations: 0 / 1.363 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.9307, allocations: 0 / 1.363 GB, free: 34.55 MB / 0.8386 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.0002067/0.9309, allocations: 351.1 kB / 1.363 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.9309, allocations: 7.781 kB / 1.363 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.931, allocations: 30.56 kB / 1.363 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.931, allocations: 7.906 kB / 1.363 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.553e-05/0.9311, allocations: 164.2 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.9311, allocations: 3.938 kB / 1.363 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.9311, allocations: 1.906 kB / 1.363 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.091e-05/0.9312, allocations: 37.2 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.9312, allocations: 3.844 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.9312, allocations: 0 / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.9312, allocations: 0 / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.9313, allocations: 1.406 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.9314, allocations: 159.7 kB / 1.363 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.9314, allocations: 29.39 kB / 1.364 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.9314, allocations: 4.859 kB / 1.364 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.9319, allocations: 468.5 kB / 1.364 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.9319, allocations: 34.12 kB / 1.364 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.9319, allocations: 0 / 1.364 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003861/0.9323, allocations: 245.8 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/0.9324, allocations: 55.53 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.9324, allocations: 88.84 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.9324, allocations: 29.45 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.432e-05/0.9324, allocations: 81.45 kB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.9325, allocations: 11.66 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.9325, allocations: 3.938 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.9325, allocations: 319.9 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.9325, allocations: 7.969 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.9326, allocations: 15.03 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.9326, allocations: 9.188 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.9326, allocations: 3.844 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.968e-05/0.9327, allocations: 50.31 kB / 1.365 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.9327, allocations: 3.844 kB / 1.365 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9327, allocations: 0 / 1.365 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.9327, allocations: 7.906 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.9328, allocations: 5.422 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.9328, allocations: 0 / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.9328, allocations: 5.422 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.9328, allocations: 0 / 1.365 GB, free: 32.25 MB / 0.8386 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 () * 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 3.56e-05/0.9329, allocations: 112.5 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.9329, allocations: 3.844 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.933, allocations: 54.86 kB / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.933, allocations: 0 / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.933, allocations: 0 / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.933, allocations: 1.406 kB / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.59e-05/0.9331, allocations: 159.7 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9331, allocations: 0 / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.9331, allocations: 13.33 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9331, allocations: 0 / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.9332, allocations: 0 / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9332, allocations: 3.938 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9332, allocations: 3.938 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.9333, allocations: 80.94 kB / 1.365 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.9333, allocations: 86.28 kB / 1.365 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.9333, allocations: 3.984 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.9334, allocations: 6.688 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.9334, allocations: 1.781 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.9334, allocations: 0 / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.9334, allocations: 83.03 kB / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9334, allocations: 0 / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002002/0.9336, allocations: 35.88 kB / 1.366 GB, free: 31.63 MB / 0.8386 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 () * 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.0003729/0.934, allocations: 0.6469 MB / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.953e-05/0.9341, allocations: 20.52 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9341, allocations: 4.281 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.9341, allocations: 11.75 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.756e-05/0.9342, allocations: 0.75 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.9345, allocations: 128.1 kB / 1.366 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.9347, allocations: 0.6767 MB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.9347, allocations: 9.141 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.9348, allocations: 7.438 kB / 1.367 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of SimCode: time 1.262e-06/0.9348, allocations: 4 kB / 1.367 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.945, allocations: 1.487 MB / 1.368 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/0.9451, allocations: 175.8 kB / 1.369 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/2.34, allocations: 1.125 kB / 1.369 GB, free: 29.82 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat does not exist to compare? outputFormat=mat