Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001863/0.001863, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.002059/0.002059, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.586/1.586, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 497.2 MB / 0.7812 GB, free: 12.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 79.88 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208/1.21, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001593/1.212, allocations: 0.5998 MB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005862/1.212, allocations: 360.5 kB / 1.305 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/1.212, allocations: 0 / 1.305 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/1.212, allocations: 0 / 1.305 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.69e-05/1.212, allocations: 0 / 1.305 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/1.213, allocations: 112.1 kB / 1.305 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.788e-05/1.213, allocations: 9.844 kB / 1.305 GB, free: 31.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/1.213, allocations: 3.375 kB / 1.305 GB, free: 31.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/1.213, allocations: 10.44 kB / 1.305 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/1.213, allocations: 2.906 kB / 1.305 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/1.213, allocations: 0 / 1.305 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/1.213, allocations: 273.5 kB / 1.305 GB, free: 31.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/1.213, allocations: 7.406 kB / 1.305 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/1.213, allocations: 10.66 kB / 1.305 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/1.214, allocations: 87.5 kB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.214, allocations: 2.562 kB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/1.214, allocations: 0 / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.541e-06/1.214, allocations: 0 / 1.305 GB, free: 31.36 MB / 1.061 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.0003128/1.214, allocations: 346 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.214, allocations: 9.5 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/1.214, allocations: 30.75 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/1.214, allocations: 4.219 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/1.214, allocations: 175.7 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/1.214, allocations: 384 / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/1.214, allocations: 3.094 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/1.214, allocations: 32.92 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/1.214, allocations: 3.938 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.214, allocations: 10 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.214, allocations: 0 / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/1.214, allocations: 6.766 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/1.214, allocations: 151.8 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/1.214, allocations: 25.48 kB / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/1.214, allocations: 7.547 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/1.215, allocations: 464.2 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.215, allocations: 34.56 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.215, allocations: 0 / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004551/1.216, allocations: 252.8 kB / 1.307 GB, free: 29.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/1.216, allocations: 54.34 kB / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/1.216, allocations: 96.8 kB / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/1.216, allocations: 25.7 kB / 1.307 GB, free: 29.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/1.216, allocations: 80.14 kB / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/1.216, allocations: 18.16 kB / 1.307 GB, free: 29.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/1.216, allocations: 20.94 kB / 1.307 GB, free: 29.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/1.216, allocations: 310.8 kB / 1.308 GB, free: 29.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/1.216, allocations: 10.31 kB / 1.308 GB, free: 29.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/1.216, allocations: 15.59 kB / 1.308 GB, free: 29.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/1.216, allocations: 26.28 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/1.216, allocations: 0 / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.612e-05/1.216, allocations: 58 kB / 1.308 GB, free: 28.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.216, allocations: 9.625 kB / 1.308 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.216, allocations: 0 / 1.308 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.216, allocations: 0 / 1.308 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/1.216, allocations: 15.81 kB / 1.308 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.216, allocations: 4 kB / 1.308 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/1.216, allocations: 0 / 1.308 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.216, allocations: 2.812 kB / 1.308 GB, free: 28.96 MB / 1.061 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.251e-05/1.216, allocations: 109.8 kB / 1.308 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/1.216, allocations: 14.83 kB / 1.308 GB, free: 28.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/1.216, allocations: 59 kB / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/1.216, allocations: 0 / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.216, allocations: 2.906 kB / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.216, allocations: 0 / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.495e-05/1.216, allocations: 147.9 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.216, allocations: 0 / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/1.216, allocations: 8.859 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.216, allocations: 7.938 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/1.216, allocations: 4 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.216, allocations: 2.5 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.216, allocations: 7.922 kB / 1.308 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/1.216, allocations: 69.11 kB / 1.308 GB, free: 28.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/1.217, allocations: 88.22 kB / 1.308 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/1.217, allocations: 6.844 kB / 1.308 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/1.217, allocations: 0 / 1.308 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/1.217, allocations: 7.141 kB / 1.308 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/1.217, allocations: 0 / 1.308 GB, free: 28.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.937e-05/1.217, allocations: 81.58 kB / 1.308 GB, free: 28.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.217, allocations: 0 / 1.308 GB, free: 28.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002028/1.217, allocations: 21.38 kB / 1.308 GB, free: 28.32 MB / 1.061 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.0003766/1.217, allocations: 0.6473 MB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.681e-05/1.217, allocations: 15.5 kB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.217, allocations: 0 / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/1.217, allocations: 12.97 kB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/1.217, allocations: 5.156 kB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/1.218, allocations: 1.139 MB / 1.31 GB, free: 26.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/1.218, allocations: 0.6816 MB / 1.311 GB, free: 25.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.799e-05/1.218, allocations: 3 kB / 1.311 GB, free: 25.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/1.218, allocations: 7.438 kB / 1.311 GB, free: 25.85 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/1.218, allocations: 3.938 kB / 1.311 GB, free: 25.85 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/1.245, allocations: 1.753 MB / 1.312 GB, free: 25.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/9.232, allocations: 9 kB / 1.312 GB, free: 25.48 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.997584046795964]