Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.461/2.461, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7508, allocations: 168.7 MB / 1.271 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001431/0.7522, allocations: 0.6371 MB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005527/0.7527, allocations: 358.5 kB / 1.272 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.7528, allocations: 0.5625 kB / 1.272 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.7528, allocations: 3.938 kB / 1.272 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.352e-05/0.7528, allocations: 4.688 kB / 1.272 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.7532, allocations: 122.3 kB / 1.273 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.468e-05/0.7532, allocations: 18.27 kB / 1.273 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.7533, allocations: 3.047 kB / 1.273 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.7533, allocations: 18.67 kB / 1.273 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.7534, allocations: 13.36 kB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.7534, allocations: 1.469 kB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.7538, allocations: 273.4 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.7538, allocations: 10.25 kB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.7538, allocations: 9.688 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.754, allocations: 111.5 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.754, allocations: 0 / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.754, allocations: 0.8125 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.754, allocations: 3.938 kB / 1.273 GB, free: 6.734 MB / 0.9981 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.000305/0.7543, allocations: 355.2 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.7543, allocations: 9.531 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.08e-05/0.7543, allocations: 35.53 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.7544, allocations: 12.33 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.7544, allocations: 169 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.7544, allocations: 2 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.7545, allocations: 9.297 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.444e-05/0.7545, allocations: 49.97 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7546, allocations: 8.781 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.7546, allocations: 0 / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7546, allocations: 1.594 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.7546, allocations: 19.56 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.7547, allocations: 171.7 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.7548, allocations: 57.73 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.7549, allocations: 27.64 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.7554, allocations: 459.4 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.7554, allocations: 31.94 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.021e-06/0.7554, allocations: 0 / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001008/0.7564, allocations: 0.5991 MB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.523e-05/0.7564, allocations: 53.53 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.72e-05/0.7565, allocations: 97.77 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.7565, allocations: 30.55 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.25e-05/0.7565, allocations: 85.17 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.7565, allocations: 38.19 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.7565, allocations: 31.36 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.7566, allocations: 322.9 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.7566, allocations: 18.09 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.7566, allocations: 25.86 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.7567, allocations: 54.98 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.7567, allocations: 0 / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001344/0.7569, allocations: 103.6 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.7569, allocations: 6.188 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.7569, allocations: 0 / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7569, allocations: 1.062 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.757, allocations: 23.78 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.757, allocations: 4.656 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.757, allocations: 8.875 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.757, allocations: 7.359 kB / 1.276 GB, free: 3.98 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.7571, allocations: 114.1 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.7571, allocations: 7.031 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.7572, allocations: 110.5 kB / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7572, allocations: 1.125 kB / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7572, allocations: 0.9062 kB / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7572, allocations: 7.938 kB / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.7575, allocations: 357.3 kB / 1.276 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7575, allocations: 1.078 kB / 1.276 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.7576, allocations: 25.05 kB / 1.276 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7576, allocations: 0 / 1.276 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.7576, allocations: 5.719 kB / 1.276 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7576, allocations: 0.9688 kB / 1.276 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7576, allocations: 0 / 1.276 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.7578, allocations: 217 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.7579, allocations: 87.22 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.7579, allocations: 2.031 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.7579, allocations: 7.312 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.758, allocations: 6.391 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.758, allocations: 2.75 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.56e-05/0.758, allocations: 82 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.758, allocations: 3.938 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002513/0.7582, allocations: 43.73 kB / 1.277 GB, free: 3.082 MB / 0.9981 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 (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.0005705/0.7588, allocations: 0.797 MB / 1.278 GB, free: 18.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.7589, allocations: 67.16 kB / 1.278 GB, free: 18.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7589, allocations: 0 / 1.278 GB, free: 18.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.759, allocations: 35.27 kB / 1.278 GB, free: 18.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.7592, allocations: 2.906 kB / 1.278 GB, free: 18.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.7604, allocations: 1.4 MB / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.7607, allocations: 0.6855 MB / 1.28 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.509e-05/0.7607, allocations: 14.94 kB / 1.28 GB, free: 16.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.7607, allocations: 18.77 kB / 1.28 GB, free: 16.36 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7607, allocations: 0 / 1.28 GB, free: 16.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.7847, allocations: 2.46 MB / 1.282 GB, free: 15.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/7.701, allocations: 6.547 kB / 1.282 GB, free: 15.94 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " [Timeout remaining time 300] "" Variables in the reference:time,x,y,der(x),der(y) Variables in the result:delta,der(der(x)),der(der_y),der(der_y_comp),der(x),der(y),der(y_comp),der_err,der_y,der_y_comp,err,n,time,x,y,y_comp [Calling sys.exit(0), Time elapsed: 12.923825163001311]