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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006921/0.006921, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001641/0.001641, allocations: 191.2 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/0.7831, allocations: 140.4 MB / 1.088 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001448/0.7846, allocations: 0.5891 MB / 1.088 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005898/0.7852, allocations: 349.1 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.7852, allocations: 0 / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.7852, allocations: 0 / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.182e-05/0.7853, allocations: 0 / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.7857, allocations: 117.1 kB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.7857, allocations: 6.812 kB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.7858, allocations: 6.484 kB / 1.089 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.7858, allocations: 14.11 kB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.7859, allocations: 3.594 kB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.7859, allocations: 1.062 kB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.7863, allocations: 273.2 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.7863, allocations: 1.734 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.7863, allocations: 6.766 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.7865, allocations: 94.58 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7865, allocations: 0 / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7865, allocations: 0 / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.7865, allocations: 1.094 kB / 1.089 GB, free: 4.551 MB / 0.8575 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.0002631/0.7868, allocations: 345.9 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.7868, allocations: 8.938 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.114e-05/0.7868, allocations: 32.55 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.7869, allocations: 2.219 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.436e-05/0.787, allocations: 169.2 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.787, allocations: 5.438 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.787, allocations: 9.703 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.7871, allocations: 32.56 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.7871, allocations: 7.938 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.7871, allocations: 0.5625 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.7871, allocations: 0.9375 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.7871, allocations: 2.812 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.7872, allocations: 156.5 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.047e-05/0.7873, allocations: 24.06 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.7873, allocations: 11.31 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.7879, allocations: 459.5 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.7879, allocations: 35.08 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.7879, allocations: 1.125 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004042/0.7884, allocations: 255.3 kB / 1.09 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.7884, allocations: 53.25 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.585e-05/0.7884, allocations: 93.11 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.7884, allocations: 34.58 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/0.7885, allocations: 80.98 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.7885, allocations: 14.55 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.7885, allocations: 22.89 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.7886, allocations: 313.3 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.7886, allocations: 3.891 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.7886, allocations: 20.92 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.7887, allocations: 27.05 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.7887, allocations: 4.906 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.623e-05/0.7888, allocations: 47.91 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7888, allocations: 15.75 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7888, allocations: 1.062 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7888, allocations: 1.859 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.7889, allocations: 6.359 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.7889, allocations: 5.016 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.7889, allocations: 1.359 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.7889, allocations: 2.156 kB / 1.091 GB, free: 2.152 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.789, allocations: 115.5 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.789, allocations: 10.61 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.7891, allocations: 54.22 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7891, allocations: 1.938 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7891, allocations: 0 / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.7891, allocations: 0 / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.239e-05/0.7892, allocations: 154.2 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7892, allocations: 1.188 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.7893, allocations: 8.781 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.7893, allocations: 4.594 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.7893, allocations: 1.031 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7893, allocations: 1 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7893, allocations: 0.5156 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.7894, allocations: 79.64 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.7894, allocations: 87.19 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.7895, allocations: 1.062 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.7895, allocations: 5.703 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.7895, allocations: 6.328 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.7895, allocations: 5.031 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.706e-05/0.7896, allocations: 78.69 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7896, allocations: 3.938 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002148/0.7898, allocations: 19.06 kB / 1.092 GB, free: 1.512 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004683/0.7903, allocations: 0.6439 MB / 1.092 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.7903, allocations: 21.77 kB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7904, allocations: 0 / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.7904, allocations: 7.469 kB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.7905, allocations: 6.5 kB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.7913, allocations: 1.138 MB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.7915, allocations: 0.6758 MB / 1.094 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.7916, allocations: 3.281 kB / 1.094 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.7916, allocations: 14.31 kB / 1.094 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.7916, allocations: 0 / 1.094 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.8097, allocations: 1.726 MB / 1.096 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.493, allocations: 16.11 kB / 1.096 GB, free: 14.69 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches