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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.86 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.001257/0.001257, 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.36/1.36, allocations: 223.2 MB / 239.9 MB, free: 5.473 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.357/2.357, allocations: 390.2 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.714, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006914/0.7148, allocations: 321 kB / 0.9539 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00054/0.7153, allocations: 314.5 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.7153, allocations: 0 / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.021e-05/0.7154, allocations: 5.469 kB / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.315e-05/0.7154, allocations: 0 / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.7157, allocations: 68.41 kB / 0.9543 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.426e-05/0.7158, allocations: 10.86 kB / 0.9543 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.7158, allocations: 1.25 kB / 0.9543 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.7158, allocations: 2.156 kB / 0.9543 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.7159, allocations: 10.42 kB / 0.9543 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.7159, allocations: 0 / 0.9543 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.7163, allocations: 260.8 kB / 0.9546 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.7163, allocations: 1.188 kB / 0.9546 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.7163, allocations: 26.61 kB / 0.9546 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.7164, allocations: 63.78 kB / 0.9546 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.7164, allocations: 0 / 0.9546 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7164, allocations: 0 / 0.9546 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.7165, allocations: 8.906 kB / 0.9546 GB, free: 7.312 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002596/0.7167, allocations: 331.6 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7168, allocations: 14.16 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.7168, allocations: 30.56 kB / 0.955 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.7169, allocations: 13.17 kB / 0.955 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.287e-05/0.7169, allocations: 160.7 kB / 0.9552 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.717, allocations: 0 / 0.9552 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.717, allocations: 5.344 kB / 0.9552 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.078e-05/0.7171, allocations: 34.69 kB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.7171, allocations: 0 / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.7171, allocations: 0 / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7171, allocations: 2.281 kB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.7171, allocations: 4.922 kB / 0.9552 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.7173, allocations: 159.1 kB / 0.9554 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/0.7173, allocations: 23.3 kB / 0.9554 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.718, allocations: 472.1 kB / 0.9558 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.718, allocations: 31.78 kB / 0.9559 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.718, allocations: 0 / 0.9559 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004935/0.7185, allocations: 250.6 kB / 0.9561 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.7185, allocations: 56.62 kB / 0.9562 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.7186, allocations: 96.5 kB / 0.9563 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.7186, allocations: 27.27 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.7186, allocations: 84.12 kB / 0.9564 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.7187, allocations: 9.312 kB / 0.9564 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.7187, allocations: 0 / 0.9564 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.7187, allocations: 312 kB / 0.9567 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.7187, allocations: 3.812 kB / 0.9567 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.7188, allocations: 29.55 kB / 0.9567 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.7188, allocations: 10.31 kB / 0.9567 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.7188, allocations: 0 / 0.9567 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.788e-05/0.7189, allocations: 45.14 kB / 0.9568 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.7189, allocations: 13.86 kB / 0.9568 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.7189, allocations: 0 / 0.9568 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.7189, allocations: 1.062 kB / 0.9568 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.719, allocations: 10.97 kB / 0.9568 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.719, allocations: 4.062 kB / 0.9568 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.719, allocations: 1.562 kB / 0.9568 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.719, allocations: 5.328 kB / 0.9568 GB, free: 4.922 MB / 0.7169 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 () * Number of clocked 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 5.39e-05/0.7191, allocations: 112.2 kB / 0.9569 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.7191, allocations: 1.5 kB / 0.9569 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.7193, allocations: 64.55 kB / 0.957 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7193, allocations: 0 / 0.957 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7193, allocations: 5.25 kB / 0.957 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7193, allocations: 7.938 kB / 0.957 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.691e-05/0.7194, allocations: 157.1 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.7194, allocations: 1.312 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.7194, allocations: 3.719 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7194, allocations: 1.375 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.7194, allocations: 0 / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7195, allocations: 1.312 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7195, allocations: 0 / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.7196, allocations: 86.41 kB / 0.9572 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.7196, allocations: 77.11 kB / 0.9573 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.7196, allocations: 1.75 kB / 0.9573 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.7197, allocations: 1.344 kB / 0.9573 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.7197, allocations: 1.562 kB / 0.9573 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.7197, allocations: 1.562 kB / 0.9573 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.7197, allocations: 80.86 kB / 0.9574 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7197, allocations: 3.938 kB / 0.9574 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002085/0.72, allocations: 29.81 kB / 0.9574 GB, free: 4.258 MB / 0.7169 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 () * Number of clocked 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.0003796/0.7203, allocations: 0.6339 MB / 0.958 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.7204, allocations: 23.08 kB / 0.958 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7204, allocations: 0 / 0.958 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.7205, allocations: 14.14 kB / 0.9581 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.7206, allocations: 1.875 kB / 0.9581 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.7211, allocations: 0.5136 MB / 0.9586 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.7212, allocations: 0.6784 MB / 0.9592 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.7212, allocations: 7.062 kB / 0.9592 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.7213, allocations: 17.3 kB / 0.9592 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7213, allocations: 3.938 kB / 0.9592 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.7317, allocations: 1.506 MB / 0.9607 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.7319, allocations: 215.2 kB / 0.9609 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.271, allocations: 0 / 0.9609 GB, free: 1.473 MB / 0.7169 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