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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8953/0.8953, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9506 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.49e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001105/0.00112, allocations: 0.5839 MB / 0.9511 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.001584, allocations: 322.8 kB / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.001605, allocations: 0 / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.001619, allocations: 0 / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.857e-05/0.001637, allocations: 0 / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.002004, allocations: 111.6 kB / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.73e-05/0.002051, allocations: 8 kB / 0.9515 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.002089, allocations: 15.86 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.002117, allocations: 4 kB / 0.9516 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.002163, allocations: 7.984 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.002177, allocations: 0 / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.002428, allocations: 263.6 kB / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.002442, allocations: 0 / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.002457, allocations: 4 kB / 0.9518 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.002611, allocations: 115.7 kB / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002613, allocations: 0 / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002614, allocations: 3.938 kB / 0.9519 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002617, allocations: 0 / 0.9519 GB, free: 1.965 MB / 0.9011 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.0002646/0.002882, allocations: 278 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.002917, allocations: 16.03 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.002943, allocations: 30.75 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.00298, allocations: 0.9375 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.604e-05/0.003046, allocations: 105.8 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.003055, allocations: 384 / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.003074, allocations: 4.375 kB / 0.9524 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.797e-05/0.003162, allocations: 59.95 kB / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.003168, allocations: 192 / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.003176, allocations: 384 / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.003181, allocations: 8.125 kB / 0.9524 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.003199, allocations: 7.938 kB / 0.9524 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.003308, allocations: 120.8 kB / 0.9525 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.003352, allocations: 22.59 kB / 0.9526 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.003368, allocations: 12.92 kB / 0.9526 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/0.00372, allocations: 71.92 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.00374, allocations: 38.55 kB / 0.9527 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.003741, allocations: 0 / 0.9527 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003916/0.004133, allocations: 177.2 kB / 0.9529 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.004156, allocations: 51.41 kB / 0.9529 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.934e-05/0.004196, allocations: 97.8 kB / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.004206, allocations: 29.7 kB / 0.953 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.00423, allocations: 84.48 kB / 0.9531 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.00425, allocations: 15.84 kB / 0.9531 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.004276, allocations: 21.7 kB / 0.9531 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.004346, allocations: 310.8 kB / 0.9534 GB, free: 216 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.004359, allocations: 4 kB / 0.9534 GB, free: 212 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.004379, allocations: 17.72 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.004418, allocations: 33.7 kB / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.004419, allocations: 0 / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.441e-05/0.004484, allocations: 49.64 kB / 0.9535 GB, free: 92 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.004496, allocations: 8.062 kB / 0.9535 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.0045, allocations: 0 / 0.9535 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.004512, allocations: 15.86 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.209e-05/0.004554, allocations: 4 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.004559, allocations: 0 / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.004571, allocations: 4 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.004577, allocations: 0 / 0.9536 GB, free: 60 kB / 0.9011 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 5.945e-05/0.004636, allocations: 117.8 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.004648, allocations: 0 / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.004739, allocations: 61.44 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.004741, allocations: 3.984 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.004745, allocations: 3.984 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.004747, allocations: 0 / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.411e-05/0.004812, allocations: 128.8 kB / 0.9539 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.004812, allocations: 0 / 0.9539 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.004848, allocations: 7.984 kB / 0.9539 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.004849, allocations: 0 / 0.9539 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.004855, allocations: 0 / 0.9539 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.004856, allocations: 3.938 kB / 0.9539 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004857, allocations: 4 kB / 0.9539 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.004953, allocations: 85.02 kB / 0.954 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.004957, allocations: 4 kB / 0.954 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.004966, allocations: 0 / 0.954 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.00499, allocations: 11.95 kB / 0.954 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.005003, allocations: 0 / 0.954 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.005006, allocations: 0 / 0.954 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.005028, allocations: 83.28 kB / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005028, allocations: 0 / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000153/0.005181, allocations: 23.94 kB / 0.9541 GB, free: 15.45 MB / 0.9167 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.0003217/0.005503, allocations: 0.6467 MB / 0.9547 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.005568, allocations: 12 kB / 0.9547 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.005571, allocations: 4 kB / 0.9547 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.005581, allocations: 7.984 kB / 0.9547 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.005689, allocations: 3.938 kB / 0.9547 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.006338, allocations: 1.143 MB / 0.9559 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.006374, allocations: 59.34 kB / 0.9559 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.006395, allocations: 8.25 kB / 0.9559 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.00642, allocations: 16.44 kB / 0.9559 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/0.006421, allocations: 0 / 0.9559 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02149, allocations: 2.386 MB / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.813, allocations: 10.5 kB / 0.9583 GB, free: 11.17 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0008 --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) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.664054024964571]