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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.0009878, allocations: 86.25 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.001177/0.001177, 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.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.536/2.536, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.683/0.6834, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007983/0.6842, allocations: 317.5 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.6849, allocations: 297.6 kB / 0.9817 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.006e-05/0.685, allocations: 0 / 0.9817 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.685, allocations: 4 kB / 0.9817 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.685, allocations: 0 / 0.9817 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.6855, allocations: 67.84 kB / 0.9818 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.417e-05/0.6855, allocations: 0 / 0.9818 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.6856, allocations: 4 kB / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.6856, allocations: 0 / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.6856, allocations: 0 / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.6856, allocations: 3.984 kB / 0.9818 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.686, allocations: 271.7 kB / 0.9821 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.792e-06/0.686, allocations: 0 / 0.9821 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.6861, allocations: 25.7 kB / 0.9821 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.6862, allocations: 59.89 kB / 0.9822 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.72e-05/0.6862, allocations: 3.938 kB / 0.9822 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6862, allocations: 0 / 0.9822 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6862, allocations: 0 / 0.9822 GB, free: 5.195 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002878/0.6865, allocations: 331.4 kB / 0.9825 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.6866, allocations: 8.031 kB / 0.9825 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.6866, allocations: 34.5 kB / 0.9825 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.6867, allocations: 7.938 kB / 0.9825 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.6868, allocations: 159.1 kB / 0.9827 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.6868, allocations: 4 kB / 0.9827 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.6868, allocations: 0 / 0.9827 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.879e-05/0.6869, allocations: 33.66 kB / 0.9827 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.6869, allocations: 3.984 kB / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.6869, allocations: 0 / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6869, allocations: 0 / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.6869, allocations: 4 kB / 0.9827 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.6871, allocations: 145.7 kB / 0.9829 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/0.6871, allocations: 22.55 kB / 0.9829 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.6871, allocations: 8.859 kB / 0.9829 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/0.6878, allocations: 421.6 kB / 0.9833 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.6879, allocations: 34.56 kB / 0.9833 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.6879, allocations: 0 / 0.9833 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.688, allocations: 41.64 kB / 0.9834 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.6881, allocations: 55.34 kB / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.301e-05/0.6881, allocations: 93.86 kB / 0.9835 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.6881, allocations: 25.7 kB / 0.9835 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.6883, allocations: 80.14 kB / 0.9836 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.6883, allocations: 4.031 kB / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/0.6883, allocations: 4 kB / 0.9836 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002529/0.6886, allocations: 310.8 kB / 0.9839 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.6886, allocations: 0 / 0.9839 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.6886, allocations: 4 kB / 0.9839 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.624e-05/0.6886, allocations: 7.938 kB / 0.9839 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6886, allocations: 0 / 0.9839 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.246e-05/0.6887, allocations: 41.69 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6887, allocations: 5.719 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6887, allocations: 4.094 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.6887, allocations: 0 / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.781e-05/0.6888, allocations: 3.953 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6888, allocations: 4 kB / 0.984 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.6888, allocations: 3.938 kB / 0.984 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.6888, allocations: 0 / 0.984 GB, free: 3.008 MB / 0.7325 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 () * Number of clocked 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 6.813e-05/0.6889, allocations: 105.8 kB / 0.9841 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.6889, allocations: 3.984 kB / 0.9841 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.689, allocations: 44.83 kB / 0.9841 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.689, allocations: 0 / 0.9841 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.689, allocations: 3.953 kB / 0.9841 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.689, allocations: 0 / 0.9841 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.99e-05/0.6891, allocations: 147.9 kB / 0.9843 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6891, allocations: 3.938 kB / 0.9843 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.6891, allocations: 4 kB / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6891, allocations: 0 / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.6892, allocations: 0 / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6892, allocations: 0 / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6892, allocations: 4.031 kB / 0.9843 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.051e-05/0.6892, allocations: 69.02 kB / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.6893, allocations: 81.09 kB / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.6893, allocations: 0 / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-06/0.6893, allocations: 0 / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.6894, allocations: 0 / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6894, allocations: 4 kB / 0.9844 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.546e-05/0.6894, allocations: 79.31 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.6894, allocations: 0 / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002125/0.6896, allocations: 11.95 kB / 0.9845 GB, free: 2.359 MB / 0.7325 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 () * Number of clocked 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.0006538/0.6903, allocations: 0.6046 MB / 0.9851 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.559e-05/0.6904, allocations: 12.02 kB / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6904, allocations: 0 / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.6904, allocations: 7.938 kB / 0.9851 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.6905, allocations: 6.609 kB / 0.9851 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.6908, allocations: 104.3 kB / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.691, allocations: 0.6731 MB / 0.9859 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.6911, allocations: 4 kB / 0.9859 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.6911, allocations: 7.562 kB / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6911, allocations: 4 kB / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.7046, allocations: 0.9995 MB / 0.9869 GB, free: 0 / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/0.7049, allocations: 196.6 kB / 0.9871 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.495, allocations: 8 kB / 0.9871 GB, free: 15.76 MB / 0.7481 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) Environment - environmentSimulation: 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