Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001006, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.909, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001225/0.9103, allocations: 1.151 MB / 0.9556 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005101/0.9108, allocations: 358.1 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.9108, allocations: 1.125 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.367e-06/0.9108, allocations: 0 / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.574e-05/0.9109, allocations: 12.98 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.9111, allocations: 72.53 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.382e-05/0.9112, allocations: 19.72 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.868e-05/0.9113, allocations: 6.891 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.9113, allocations: 10.78 kB / 0.956 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.817e-05/0.9113, allocations: 12.14 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.9113, allocations: 1.5 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.9117, allocations: 265.7 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.9117, allocations: 5.062 kB / 0.9563 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.9117, allocations: 31.23 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.9118, allocations: 69.88 kB / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9118, allocations: 0 / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9118, allocations: 0.9688 kB / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.9118, allocations: 0 / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002901/0.9121, allocations: 363.4 kB / 0.9567 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.9122, allocations: 14.41 kB / 0.9567 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.9122, allocations: 9.328 kB / 0.9568 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.37e-05/0.9123, allocations: 168.4 kB / 0.9569 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.9123, allocations: 1.406 kB / 0.9569 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.9123, allocations: 1.438 kB / 0.9569 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.9124, allocations: 57.98 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.9124, allocations: 0 / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.9125, allocations: 0 / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.9125, allocations: 1.125 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.9126, allocations: 56.31 kB / 0.957 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.9128, allocations: 250.1 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.9129, allocations: 40.91 kB / 0.9573 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.487e-05/0.913, allocations: 31.92 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/0.9135, allocations: 467.9 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.9136, allocations: 31.78 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.9136, allocations: 0 / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003068/0.9139, allocations: 108.9 kB / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.275e-05/0.9139, allocations: 51.41 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/0.914, allocations: 105.8 kB / 0.9581 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.914, allocations: 25.7 kB / 0.9581 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.914, allocations: 81.42 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.914, allocations: 9.344 kB / 0.9582 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.914, allocations: 0 / 0.9582 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.914, allocations: 315.9 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.9141, allocations: 26.53 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.9142, allocations: 17.92 kB / 0.9585 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.9143, allocations: 26.7 kB / 0.9585 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.9143, allocations: 3.938 kB / 0.9585 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/0.9145, allocations: 79.56 kB / 0.9586 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.9145, allocations: 5.281 kB / 0.9586 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.9145, allocations: 4.031 kB / 0.9586 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.9145, allocations: 1 kB / 0.9586 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.9146, allocations: 16.81 kB / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.9146, allocations: 0 / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.9146, allocations: 13.56 kB / 0.9587 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.9146, allocations: 1.5 kB / 0.9587 GB, free: 3.875 MB / 0.7169 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.9147, allocations: 112.2 kB / 0.9588 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.9147, allocations: 9.109 kB / 0.9588 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.9149, allocations: 85.84 kB / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.915, allocations: 5.375 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.915, allocations: 3.953 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.915, allocations: 4.031 kB / 0.9589 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.9151, allocations: 159.1 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9151, allocations: 1.75 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.9152, allocations: 8.844 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9152, allocations: 0 / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.9152, allocations: 0 / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9152, allocations: 0 / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9152, allocations: 5.953 kB / 0.959 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.9154, allocations: 173 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.9154, allocations: 86.09 kB / 0.9593 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.9154, allocations: 0 / 0.9593 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.9155, allocations: 10.47 kB / 0.9593 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.9156, allocations: 9.578 kB / 0.9593 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.9156, allocations: 1.625 kB / 0.9593 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.9156, allocations: 83.81 kB / 0.9594 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9156, allocations: 0 / 0.9594 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002314/0.9158, allocations: 19.92 kB / 0.9594 GB, free: 3.121 MB / 0.7169 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.916, allocations: 117.9 kB / 0.9595 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.9162, allocations: 48.38 kB / 0.9596 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9162, allocations: 0 / 0.9596 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.9163, allocations: 28.34 kB / 0.9596 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.9166, allocations: 6.625 kB / 0.9596 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.9168, allocations: 121.9 kB / 0.9597 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.386e-05/0.9169, allocations: 0.6745 MB / 0.9604 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.917, allocations: 5.891 kB / 0.9604 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.917, allocations: 7.438 kB / 0.9604 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.917, allocations: 3.938 kB / 0.9604 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.002662/0.9197, allocations: 0.6278 MB / 0.961 GB, free: 1.832 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches