Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.002128/0.002128, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 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.002603/0.002603, allocations: 161.3 kB / 22.75 MB, free: 1.66 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 1.513/1.513, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.215/3.215, allocations: 429.6 MB / 0.673 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8776 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.984e-05, allocations: 5.547 kB / 0.8776 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001824/0.001854, allocations: 0.5963 MB / 0.8782 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.002561, allocations: 299.2 kB / 0.8785 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.002577, allocations: 0 / 0.8785 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.002589, allocations: 0 / 0.8785 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.002595, allocations: 0.6562 kB / 0.8785 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.003089, allocations: 107.3 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.003133, allocations: 4 kB / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.003163, allocations: 0 / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 1.932e-05/0.003182, allocations: 0 / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.428e-05/0.003206, allocations: 0 / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.003217, allocations: 0 / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.0037, allocations: 259.6 kB / 0.8789 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.00371, allocations: 0 / 0.8789 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.003729, allocations: 1.844 kB / 0.8789 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.003959, allocations: 115.7 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.003961, allocations: 0 / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003962, allocations: 0 / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003966, allocations: 0 / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003397/0.004306, allocations: 267.2 kB / 0.8792 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004341, allocations: 8.031 kB / 0.8792 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.004424, allocations: 4.938 kB / 0.8792 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.004525, allocations: 110.9 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004536, allocations: 384 / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.004542, allocations: 384 / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.848e-05/0.004621, allocations: 31.33 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.004629, allocations: 192 / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.004636, allocations: 1.969 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.00464, allocations: 384 / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.004659, allocations: 3.938 kB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.004792, allocations: 97.33 kB / 0.8795 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.00484, allocations: 24.98 kB / 0.8795 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.004858, allocations: 8.844 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/0.005223, allocations: 51.98 kB / 0.8796 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.005259, allocations: 36.62 kB / 0.8796 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.00526, allocations: 0 / 0.8796 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001672/0.005428, allocations: 37.62 kB / 0.8796 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.005473, allocations: 55.41 kB / 0.8797 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.005526, allocations: 90.58 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.005556, allocations: 29.7 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.005599, allocations: 81.8 kB / 0.8799 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.005624, allocations: 3.953 kB / 0.8799 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.005654, allocations: 13.72 kB / 0.8799 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.005818, allocations: 318.7 kB / 0.8802 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.005828, allocations: 0 / 0.8802 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-06/0.005834, allocations: 1.188 kB / 0.8802 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.005865, allocations: 8.859 kB / 0.8802 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.005867, allocations: 4.188 kB / 0.8802 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.337e-05/0.00595, allocations: 45.62 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.005965, allocations: 4 kB / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005969, allocations: 0 / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.005985, allocations: 0 / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.006024, allocations: 4 kB / 0.8803 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.006028, allocations: 0 / 0.8803 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.006042, allocations: 7.938 kB / 0.8803 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.006046, allocations: 0 / 0.8803 GB, free: 3.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 8.064e-05/0.006127, allocations: 109.8 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.006148, allocations: 4.031 kB / 0.8804 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.074e-05/0.006238, allocations: 40.69 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00624, allocations: 0 / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006243, allocations: 0 / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.006245, allocations: 4 kB / 0.8804 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.767e-05/0.006333, allocations: 97.27 kB / 0.8805 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006333, allocations: 0 / 0.8805 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.006352, allocations: 7.922 kB / 0.8805 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006353, allocations: 4 kB / 0.8805 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.006358, allocations: 4.031 kB / 0.8805 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.006359, allocations: 0 / 0.8805 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.00636, allocations: 0 / 0.8805 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.006463, allocations: 57.08 kB / 0.8806 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.006471, allocations: 7.984 kB / 0.8806 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.006482, allocations: 3.984 kB / 0.8806 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.006492, allocations: 4 kB / 0.8806 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.006503, allocations: 0 / 0.8806 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.006504, allocations: 0 / 0.8806 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.006546, allocations: 76.03 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006546, allocations: 0 / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001979/0.006744, allocations: 12.03 kB / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0001952/0.006939, allocations: 123 kB / 0.8808 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.959e-05/0.006999, allocations: 7.938 kB / 0.8808 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007, allocations: 0 / 0.8808 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.007007, allocations: 0 / 0.8808 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.007139, allocations: 0 / 0.8808 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.007343, allocations: 82.3 kB / 0.8809 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.863e-05/0.007412, allocations: 55.36 kB / 0.8809 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.007429, allocations: 8.109 kB / 0.881 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.007451, allocations: 8.5 kB / 0.881 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.007451, allocations: 0 / 0.881 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of Templates: time 0.002834/0.01029, allocations: 493.4 kB / 0.8814 GB, free: 2.285 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.078990380978212]