Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower",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 2.384/2.384, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001121/0.001121, allocations: 172.9 kB / 487.4 MB, free: 5.008 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.464/1.464, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008389, allocations: 107.8 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.865e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2909, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9135/1.204, allocations: 149.1 MB / 1.352 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.205, allocations: 75.86 kB / 1.352 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01264/1.217, allocations: 4.335 MB / 1.356 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.217, allocations: 0 / 1.356 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.212e-06/1.217, allocations: 0 / 1.356 GB, free: 33.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003633/1.218, allocations: 372.6 kB / 1.356 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.218, allocations: 7.562 kB / 1.356 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/1.218, allocations: 9.219 kB / 1.356 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.771e-05/1.218, allocations: 164.2 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.218, allocations: 4.484 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/1.218, allocations: 0 / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.752e-05/1.218, allocations: 15.53 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.616e-05/1.218, allocations: 35.23 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/1.218, allocations: 0 / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/1.218, allocations: 7.938 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.218, allocations: 0 / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/1.219, allocations: 249.4 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/1.219, allocations: 22.88 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/1.219, allocations: 12.73 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/1.219, allocations: 466.5 kB / 1.357 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/1.219, allocations: 39.16 kB / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/1.219, allocations: 0 / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001844/1.219, allocations: 41.84 kB / 1.357 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/1.22, allocations: 55.67 kB / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/1.22, allocations: 97.62 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/1.22, allocations: 25.7 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/1.22, allocations: 88.72 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/1.22, allocations: 4.656 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/1.22, allocations: 4.031 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.22, allocations: 316 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/1.22, allocations: 7.625 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/1.22, allocations: 4.625 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/1.22, allocations: 6.625 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.22, allocations: 0 / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.558e-05/1.22, allocations: 50.98 kB / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/1.22, allocations: 3.875 kB / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.22, allocations: 4.656 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.22, allocations: 0 / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/1.22, allocations: 10.47 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/1.22, allocations: 5.219 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/1.22, allocations: 6.094 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/1.22, allocations: 0 / 1.358 GB, free: 31.75 MB / 0.8386 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 () * 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 6.762e-05/1.22, allocations: 109.4 kB / 1.358 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.275e-05/1.22, allocations: 46.47 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/1.22, allocations: 0.75 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/1.221, allocations: 59.92 kB / 1.358 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/1.221, allocations: 0 / 1.358 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.221, allocations: 0 / 1.358 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.221, allocations: 0.6562 kB / 1.358 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/1.221, allocations: 147.2 kB / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.221, allocations: 0 / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/1.221, allocations: 18.44 kB / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.221, allocations: 0 / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.221, allocations: 0.6094 kB / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.221, allocations: 0 / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.221, allocations: 0 / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/1.221, allocations: 148.7 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/1.221, allocations: 81.8 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/1.221, allocations: 8.547 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/1.221, allocations: 12.28 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/1.221, allocations: 3.969 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/1.221, allocations: 0 / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.565e-05/1.221, allocations: 85.73 kB / 1.359 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.221, allocations: 0 / 1.359 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002142/1.221, allocations: 15.53 kB / 1.359 GB, free: 31.07 MB / 0.8386 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 () * 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.0004134/1.222, allocations: 0.6931 MB / 1.359 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.16e-05/1.222, allocations: 15.12 kB / 1.359 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.222, allocations: 0 / 1.359 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/1.222, allocations: 11.47 kB / 1.359 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/1.222, allocations: 2.484 kB / 1.359 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/1.222, allocations: 102.4 kB / 1.36 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/1.223, allocations: 0.6758 MB / 1.36 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.124e-05/1.223, allocations: 6.797 kB / 1.36 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/1.223, allocations: 7.438 kB / 1.36 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.223, allocations: 0 / 1.36 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/1.245, allocations: 0.985 MB / 1.361 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.246, allocations: 139.1 kB / 1.361 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/2.681, allocations: 1.812 kB / 1.361 GB, free: 29.32 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat does not exist to compare? outputFormat=mat