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.001307/0.001307, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001335/0.001335, allocations: 186 kB / 20.78 MB, free: 1.547 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.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.907/2.907, allocations: 496.2 MB / 0.7819 GB, free: 12.25 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: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 79.86 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8444, allocations: 173.6 MB / 1.305 GB, free: 33.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001514/0.8459, allocations: 0.6021 MB / 1.306 GB, free: 33.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005581/0.8464, allocations: 355.6 kB / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.8465, allocations: 2.875 kB / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.8465, allocations: 3.938 kB / 1.306 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.186e-05/0.8465, allocations: 0 / 1.306 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.8469, allocations: 110.1 kB / 1.307 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.505e-05/0.847, allocations: 16.44 kB / 1.307 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.847, allocations: 2.531 kB / 1.307 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.847, allocations: 6.469 kB / 1.307 GB, free: 32.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.8471, allocations: 7.266 kB / 1.307 GB, free: 32.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.8471, allocations: 6.484 kB / 1.307 GB, free: 32.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.8474, allocations: 272.8 kB / 1.307 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.8474, allocations: 0 / 1.307 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.8474, allocations: 7.375 kB / 1.307 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.8476, allocations: 93.33 kB / 1.307 GB, free: 32.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8476, allocations: 0 / 1.307 GB, free: 32.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8476, allocations: 0 / 1.307 GB, free: 32.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8476, allocations: 4 kB / 1.307 GB, free: 32.73 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.0002804/0.8479, allocations: 347.7 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.8479, allocations: 9.188 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.8479, allocations: 0.9375 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.848, allocations: 170.7 kB / 1.307 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.848, allocations: 384 / 1.307 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.8481, allocations: 2.938 kB / 1.307 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.8481, allocations: 36.23 kB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8481, allocations: 4.188 kB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8482, allocations: 7.922 kB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.8482, allocations: 2.656 kB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.8482, allocations: 7.938 kB / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.8483, allocations: 150.9 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.365e-05/0.8483, allocations: 21.55 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.8483, allocations: 7.797 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.8489, allocations: 458.9 kB / 1.308 GB, free: 31.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.849, allocations: 33.94 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.849, allocations: 4 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004066/0.8494, allocations: 254 kB / 1.308 GB, free: 31.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.615e-05/0.8494, allocations: 51.41 kB / 1.308 GB, free: 31.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.983e-05/0.8494, allocations: 99.98 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.8494, allocations: 29.7 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.242e-05/0.8494, allocations: 82.86 kB / 1.309 GB, free: 30.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.8495, allocations: 12.19 kB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.8495, allocations: 26.91 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.8495, allocations: 318 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.8495, allocations: 2.594 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.8496, allocations: 19.38 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.8496, allocations: 27.8 kB / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8496, allocations: 4 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.268e-05/0.8497, allocations: 51.39 kB / 1.309 GB, free: 30.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.8497, allocations: 11.72 kB / 1.309 GB, free: 30.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.8497, allocations: 0 / 1.309 GB, free: 30.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8497, allocations: 2.938 kB / 1.309 GB, free: 30.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.8498, allocations: 5.781 kB / 1.309 GB, free: 30.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.8498, allocations: 0 / 1.309 GB, free: 30.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.8498, allocations: 0 / 1.309 GB, free: 30.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.8498, allocations: 6.719 kB / 1.309 GB, free: 30.37 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 3.991e-05/0.8498, allocations: 116.8 kB / 1.309 GB, free: 30.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.8499, allocations: 7.125 kB / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.85, allocations: 50.44 kB / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.85, allocations: 0 / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.85, allocations: 0 / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.85, allocations: 0 / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.379e-05/0.85, allocations: 155.1 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.85, allocations: 2.75 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.8501, allocations: 6.531 kB / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8501, allocations: 6.625 kB / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.8501, allocations: 0 / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8501, allocations: 0 / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8501, allocations: 0 / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.8502, allocations: 86.64 kB / 1.309 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.8502, allocations: 77.34 kB / 1.31 GB, free: 29.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.8502, allocations: 3.938 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.8503, allocations: 14.72 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.8503, allocations: 7.5 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.8503, allocations: 2.719 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.537e-05/0.8503, allocations: 75.28 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8503, allocations: 2.594 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002132/0.8505, allocations: 21.47 kB / 1.31 GB, free: 29.73 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.0001589/0.8507, allocations: 131.1 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.8508, allocations: 24.95 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.8508, allocations: 3.938 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.8508, allocations: 5.781 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.8509, allocations: 11.34 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.8511, allocations: 128.4 kB / 1.31 GB, free: 29.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.353e-05/0.8512, allocations: 0.6752 MB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.8512, allocations: 7.031 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.8513, allocations: 10.31 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.8513, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of Templates: time 0.003014/0.8543, allocations: 0.8826 MB / 1.312 GB, free: 28.71 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.916542596183717]