Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.001127/0.001127, allocations: 100.2 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.001311/0.001311, 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 1.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003494, allocations: 12 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7575, allocations: 142.3 MB / 0.9536 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007867/0.7583, allocations: 348.6 kB / 0.9539 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005395/0.7588, allocations: 321.1 kB / 0.9542 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.7589, allocations: 0 / 0.9542 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.7589, allocations: 0 / 0.9542 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.929e-05/0.7589, allocations: 0 / 0.9542 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.7593, allocations: 82.92 kB / 0.9543 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.7593, allocations: 17.98 kB / 0.9543 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.7594, allocations: 1.281 kB / 0.9543 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.7594, allocations: 8.969 kB / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.7595, allocations: 15.88 kB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.7595, allocations: 1.375 kB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.7598, allocations: 265.1 kB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.7598, allocations: 1.125 kB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.7599, allocations: 32.77 kB / 0.9546 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.76, allocations: 65.12 kB / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.76, allocations: 4 kB / 0.9547 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.366e-06/0.76, allocations: 1.219 kB / 0.9547 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.76, allocations: 3.938 kB / 0.9547 GB, free: 7.484 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003314/0.7604, allocations: 352 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7604, allocations: 10.66 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.7605, allocations: 34.55 kB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.7605, allocations: 7.672 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.7606, allocations: 164.5 kB / 0.9553 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.7606, allocations: 9.188 kB / 0.9553 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.7606, allocations: 3.594 kB / 0.9553 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.7607, allocations: 46.86 kB / 0.9553 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7608, allocations: 5.031 kB / 0.9553 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.7608, allocations: 5.156 kB / 0.9553 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7608, allocations: 3.984 kB / 0.9553 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.335e-05/0.7608, allocations: 23.23 kB / 0.9554 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.761, allocations: 166.6 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.7611, allocations: 58.09 kB / 0.9556 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.7617, allocations: 464.3 kB / 0.956 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.7617, allocations: 40.69 kB / 0.956 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.7617, allocations: 0 / 0.956 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001149/0.7629, allocations: 0.5802 MB / 0.9566 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.7629, allocations: 68.33 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.464e-05/0.7629, allocations: 92.67 kB / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.763, allocations: 31.14 kB / 0.9568 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.763, allocations: 85.47 kB / 0.9569 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.763, allocations: 31.78 kB / 0.9569 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.763, allocations: 0 / 0.9569 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.7631, allocations: 320.9 kB / 0.9572 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.7631, allocations: 23.48 kB / 0.9572 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.7632, allocations: 16.22 kB / 0.9573 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.7632, allocations: 27.97 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.7632, allocations: 0 / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001373/0.7634, allocations: 97.77 kB / 0.9574 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7634, allocations: 9.344 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.7634, allocations: 0 / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7634, allocations: 1.531 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7635, allocations: 25.33 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7635, allocations: 5.453 kB / 0.9574 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.7636, allocations: 4 kB / 0.9574 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.7636, allocations: 2.656 kB / 0.9574 GB, free: 4.711 MB / 0.7169 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 (13): * Single equations (assignments): 13 * 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 5.585e-05/0.7636, allocations: 121.7 kB / 0.9575 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.7637, allocations: 6.906 kB / 0.9575 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.7638, allocations: 109.9 kB / 0.9576 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7638, allocations: 2.719 kB / 0.9576 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7639, allocations: 0 / 0.9576 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7639, allocations: 7.938 kB / 0.9577 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.7642, allocations: 349 kB / 0.958 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7642, allocations: 4 kB / 0.958 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.7643, allocations: 21.12 kB / 0.958 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7643, allocations: 5.047 kB / 0.958 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.7643, allocations: 1.031 kB / 0.958 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7643, allocations: 4.984 kB / 0.958 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7643, allocations: 0 / 0.958 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.7645, allocations: 226.1 kB / 0.9582 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.7646, allocations: 84.72 kB / 0.9583 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.7646, allocations: 4.062 kB / 0.9583 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.7647, allocations: 6 kB / 0.9583 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.7647, allocations: 11.34 kB / 0.9583 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.7647, allocations: 7.562 kB / 0.9583 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.7647, allocations: 81.34 kB / 0.9584 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7648, allocations: 0 / 0.9584 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002676/0.765, allocations: 45.67 kB / 0.9585 GB, free: 3.738 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0004554/0.7655, allocations: 0.7892 MB / 0.9592 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.7656, allocations: 63.56 kB / 0.9593 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7656, allocations: 0 / 0.9593 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.7657, allocations: 37.45 kB / 0.9593 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.7658, allocations: 9.953 kB / 0.9593 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006541/0.7665, allocations: 0.5126 MB / 0.9598 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.7666, allocations: 0.6893 MB / 0.9605 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.731e-05/0.7666, allocations: 13.59 kB / 0.9605 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.7667, allocations: 17.34 kB / 0.9605 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7667, allocations: 0 / 0.9605 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.7775, allocations: 2.22 MB / 0.9627 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/0.7776, allocations: 215 kB / 0.9629 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.387, allocations: 0 / 0.9629 GB, free: 0.5547 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat