Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_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.0052/0.0052, allocations: 101.1 kB / 15.73 MB, free: 6.059 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.001445/0.001445, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.434/2.434, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 67.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6262, allocations: 159.1 MB / 1.22 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001386/0.6276, allocations: 0.5875 MB / 1.221 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.6282, allocations: 356.6 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.6282, allocations: 0 / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.6283, allocations: 3.938 kB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.682e-05/0.6283, allocations: 0 / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.6287, allocations: 111.7 kB / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.963e-05/0.6287, allocations: 8 kB / 1.221 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 2.824e-05/0.6288, allocations: 4 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.6288, allocations: 0 / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.6288, allocations: 15.91 kB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.6288, allocations: 3.938 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.6292, allocations: 271.7 kB / 1.222 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.6292, allocations: 4 kB / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.6292, allocations: 7.984 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.6294, allocations: 91.44 kB / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.6294, allocations: 0 / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6294, allocations: 4 kB / 1.222 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.6294, allocations: 0 / 1.222 GB, free: 0.625 MB / 0.9356 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.0003243/0.6298, allocations: 347.2 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.6298, allocations: 8.031 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.6298, allocations: 38.73 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.6299, allocations: 0.9375 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.63, allocations: 160.4 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.63, allocations: 384 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.63, allocations: 4.375 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.6301, allocations: 46.25 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6301, allocations: 3.938 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.6301, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.6302, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.6302, allocations: 11.92 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.6303, allocations: 153.7 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.134e-05/0.6304, allocations: 18.58 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.6304, allocations: 8.859 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/0.6311, allocations: 461.5 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.6311, allocations: 34.56 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6311, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004637/0.6316, allocations: 254.3 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.6316, allocations: 55.34 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.6317, allocations: 93.86 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.6317, allocations: 29.7 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.6318, allocations: 92.36 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.6318, allocations: 19.83 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.6318, allocations: 13.72 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6319, allocations: 314.8 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.632, allocations: 4 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.632, allocations: 17.7 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.632, allocations: 33.72 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.632, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.625e-05/0.6321, allocations: 53.62 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.6322, allocations: 7.938 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.6322, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.6322, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.6322, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.6323, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.6323, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.6323, allocations: 8.062 kB / 1.224 GB, free: 13.99 MB / 0.9512 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 6.72e-05/0.6324, allocations: 110.3 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.6324, allocations: 11.92 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.6325, allocations: 53.19 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.6325, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.6325, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.6325, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.6326, allocations: 153.7 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6326, allocations: 4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.6327, allocations: 4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.6327, allocations: 7.938 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.6327, allocations: 3.984 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6327, allocations: 0 / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6327, allocations: 0 / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.6329, allocations: 81.02 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.6329, allocations: 81.05 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-06/0.6329, allocations: 8.094 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.633, allocations: 4 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.633, allocations: 4.219 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.633, allocations: 4 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.6331, allocations: 75.28 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6331, allocations: 3.938 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001925/0.6333, allocations: 31.88 kB / 1.224 GB, free: 13.25 MB / 0.9512 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.0004846/0.6337, allocations: 0.6476 MB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.6338, allocations: 19.98 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6338, allocations: 0 / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.6339, allocations: 11.94 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.634, allocations: 3.938 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.6349, allocations: 1.139 MB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.6352, allocations: 0.6729 MB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.6352, allocations: 3.984 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.6352, allocations: 15.42 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6352, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.211/2.846, allocations: 1.74 MB / 1.229 GB, free: 9 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/10.85, allocations: 9.812 kB / 1.229 GB, free: 8.992 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches