Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.996/1.996, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001027/0.001027, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009201/0.00092, allocations: 80.02 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.754e-05, allocations: 12 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2274, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7041/0.9316, allocations: 149.9 MB / 1.365 GB, free: 4.078 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.9318, allocations: 76.33 kB / 1.365 GB, free: 4.035 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.9424, allocations: 4.047 MB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.32e-07/0.9424, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.9424, allocations: 4 kB / 1.369 GB, free: 0.5898 MB / 0.823 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.0002258/0.9426, allocations: 345.9 kB / 1.37 GB, free: 216 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9427, allocations: 8.031 kB / 1.37 GB, free: 208 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.9427, allocations: 30.56 kB / 1.37 GB, free: 168 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.9427, allocations: 4 kB / 1.37 GB, free: 164 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.9428, allocations: 163 kB / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.9428, allocations: 3.984 kB / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.9429, allocations: 0 / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.845e-05/0.9429, allocations: 29.7 kB / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.9429, allocations: 0 / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.943, allocations: 4 kB / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.943, allocations: 0 / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.943, allocations: 0 / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.9431, allocations: 160.8 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.946e-05/0.9431, allocations: 14.58 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.9432, allocations: 4.859 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/0.9435, allocations: 428.6 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.9436, allocations: 34.55 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.9436, allocations: 0 / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001128/0.9437, allocations: 32.95 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.9437, allocations: 59.34 kB / 1.371 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.767e-05/0.9438, allocations: 85 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.9438, allocations: 29.73 kB / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.9438, allocations: 80.14 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.9438, allocations: 0.7812 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-06/0.9438, allocations: 0 / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.9439, allocations: 314.8 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.9439, allocations: 6.875 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.944, allocations: 3.938 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.178e-05/0.944, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.944, allocations: 4.062 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.66e-05/0.944, allocations: 37.69 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.9441, allocations: 4 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.9441, allocations: 0 / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.9441, allocations: 0 / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-05/0.9441, allocations: 4 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9441, allocations: 5.031 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-06/0.9441, allocations: 0 / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.9442, allocations: 0 / 1.371 GB, free: 14.44 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 (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 4.987e-05/0.9442, allocations: 109 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.9442, allocations: 4 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.9443, allocations: 44.03 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.9443, allocations: 0 / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.9443, allocations: 0 / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.9443, allocations: 0 / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.063e-05/0.9444, allocations: 149.6 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9444, allocations: 8 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.9444, allocations: 3.938 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9444, allocations: 4.031 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.9445, allocations: 0 / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.9445, allocations: 0 / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9445, allocations: 0 / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.789e-05/0.9445, allocations: 60.27 kB / 1.371 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.9446, allocations: 89.03 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.9446, allocations: 0 / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.9446, allocations: 4 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-06/0.9446, allocations: 4.031 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.9446, allocations: 0 / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.9447, allocations: 78.22 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9447, allocations: 0 / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001726/0.9448, allocations: 15.94 kB / 1.372 GB, free: 13.79 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 (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.0003709/0.9452, allocations: 0.6155 MB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.965e-05/0.9453, allocations: 4 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9453, allocations: 0 / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.9453, allocations: 0 / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.03e-05/0.9454, allocations: 4.875 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.9456, allocations: 81.64 kB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.9458, allocations: 0.677 MB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.9459, allocations: 8.109 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.9459, allocations: 15.31 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.9459, allocations: 0 / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.9559, allocations: 0.9548 MB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.9561, allocations: 167.2 kB / 1.374 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.26/2.216, allocations: 10.44 kB / 1.374 GB, free: 11.25 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat does not exist to compare? outputFormat=mat