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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 115.8 kB / 17.93 MB, free: 3.938 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.001923/0.001923, allocations: 192.4 kB / 21.18 MB, free: 0.6992 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.52/1.52, allocations: 225.6 MB / 249.9 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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.849/2.849, allocations: 476.7 MB / 0.7634 GB, free: 10.91 MB / 0.6231 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.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 0.002019/0.002019, allocations: 75.83 kB / 1.108 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7671, allocations: 168.7 MB / 1.272 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00189/0.769, allocations: 0.6054 MB / 1.273 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.7697, allocations: 354.7 kB / 1.273 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.7697, allocations: 0 / 1.273 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.7698, allocations: 0 / 1.273 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 1.723e-05/0.7698, allocations: 0 / 1.273 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.7703, allocations: 111.6 kB / 1.273 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.7703, allocations: 19.94 kB / 1.273 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.7704, allocations: 7.969 kB / 1.273 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.7704, allocations: 4 kB / 1.273 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.7704, allocations: 4 kB / 1.273 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.7704, allocations: 3.938 kB / 1.273 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.7709, allocations: 271.6 kB / 1.274 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.7709, allocations: 4 kB / 1.274 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.7709, allocations: 4 kB / 1.274 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.7711, allocations: 93.55 kB / 1.274 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7711, allocations: 3.984 kB / 1.274 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7711, allocations: 0 / 1.274 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.7711, allocations: 4 kB / 1.274 GB, free: 2.902 MB / 0.9669 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.0004857/0.7716, allocations: 347.2 kB / 1.274 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7716, allocations: 15.97 kB / 1.274 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.7717, allocations: 30.75 kB / 1.274 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.7717, allocations: 0.9375 kB / 1.274 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.7719, allocations: 160.4 kB / 1.274 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.7719, allocations: 4.375 kB / 1.274 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.7719, allocations: 384 / 1.274 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.613e-05/0.772, allocations: 46.19 kB / 1.274 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.772, allocations: 3.938 kB / 1.274 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.772, allocations: 0 / 1.274 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7721, allocations: 3.984 kB / 1.274 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.7721, allocations: 4 kB / 1.274 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.7723, allocations: 153.7 kB / 1.275 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.7723, allocations: 18.58 kB / 1.275 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.7723, allocations: 8.859 kB / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008575/0.7732, allocations: 461.5 kB / 1.275 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.7732, allocations: 38.5 kB / 1.275 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7732, allocations: 0 / 1.275 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005403/0.7738, allocations: 254.3 kB / 1.275 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.7738, allocations: 51.41 kB / 1.275 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.7739, allocations: 97.84 kB / 1.275 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.7739, allocations: 29.7 kB / 1.275 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.7739, allocations: 80.48 kB / 1.276 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.774, allocations: 19.84 kB / 1.276 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.774, allocations: 17.66 kB / 1.276 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7741, allocations: 318.8 kB / 1.276 GB, free: 428 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.7742, allocations: 4 kB / 1.276 GB, free: 424 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.7742, allocations: 13.72 kB / 1.276 GB, free: 404 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.586e-05/0.7743, allocations: 37.66 kB / 1.276 GB, free: 360 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.7743, allocations: 0 / 1.276 GB, free: 360 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.7744, allocations: 53.69 kB / 1.276 GB, free: 300 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7744, allocations: 7.938 kB / 1.276 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.7744, allocations: 0 / 1.276 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.7744, allocations: 4 kB / 1.276 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.7745, allocations: 4 kB / 1.276 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7745, allocations: 7.922 kB / 1.276 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.7745, allocations: 4 kB / 1.276 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.7745, allocations: 64 / 1.276 GB, free: 272 kB / 0.9669 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 0.0001016/0.7746, allocations: 110.4 kB / 1.276 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.7746, allocations: 7.938 kB / 1.276 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.7748, allocations: 57.12 kB / 1.276 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7748, allocations: 0 / 1.276 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7748, allocations: 0 / 1.276 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7748, allocations: 3.984 kB / 1.276 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.7749, allocations: 149.7 kB / 1.276 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7749, allocations: 7.984 kB / 1.276 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.775, allocations: 7.938 kB / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.775, allocations: 7.938 kB / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.775, allocations: 0 / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.775, allocations: 0 / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.775, allocations: 0 / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.7752, allocations: 77.08 kB / 1.276 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.7752, allocations: 85.08 kB / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7752, allocations: 8.047 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.7753, allocations: 0 / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.7753, allocations: 240 / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.7753, allocations: 4 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.7753, allocations: 75.28 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7753, allocations: 0 / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003035/0.7756, allocations: 31.92 kB / 1.277 GB, free: 15.54 MB / 0.9825 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.0005561/0.7762, allocations: 0.6514 MB / 1.277 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.7763, allocations: 16 kB / 1.277 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7763, allocations: 0 / 1.277 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.7763, allocations: 15.92 kB / 1.277 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.7765, allocations: 0 / 1.277 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.7776, allocations: 1.155 MB / 1.278 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.7779, allocations: 0.6768 MB / 1.279 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.7779, allocations: 7.938 kB / 1.279 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.7779, allocations: 11.44 kB / 1.279 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.7779, allocations: 0 / 1.279 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.806, allocations: 1.716 MB / 1.281 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.815, allocations: 1.359 kB / 1.281 GB, free: 11.24 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.951925339992158]