Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001667/0.001667, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001847/0.001847, allocations: 167.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.851/2.851, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.409e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003312/0.003336, allocations: 1.466 MB / 1.002 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004345, allocations: 354.7 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.004392, allocations: 0 / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.004423, allocations: 3.938 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.004484, allocations: 7.938 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.005117, allocations: 115.6 kB / 1.002 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.005209, allocations: 27.92 kB / 1.002 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.005303, allocations: 0 / 1.002 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.00538, allocations: 19.91 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.005427, allocations: 8 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.005449, allocations: 4 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006569/0.006106, allocations: 259.6 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.006127, allocations: 8 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.006159, allocations: 8 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.006536, allocations: 139.6 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.006542, allocations: 4 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.51e-07/0.006543, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.006548, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.9512 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.0006624/0.007211, allocations: 290 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.00726, allocations: 8.031 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.007331, allocations: 4.938 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.007483, allocations: 109.8 kB / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.007499, allocations: 4.375 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.00751, allocations: 384 / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.007764, allocations: 50.23 kB / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.007776, allocations: 4.125 kB / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.007787, allocations: 384 / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.007797, allocations: 384 / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.008063, allocations: 43.83 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.008557, allocations: 192.6 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.008765, allocations: 42.59 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.008902, allocations: 20.91 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/0.009691, allocations: 79.92 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.009734, allocations: 38.48 kB / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.009736, allocations: 0 / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0005925/0.01033, allocations: 85.53 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.01039, allocations: 59.39 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.0105, allocations: 101.9 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01052, allocations: 25.7 kB / 1.004 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.0106, allocations: 92.2 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.01063, allocations: 7.953 kB / 1.004 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.01068, allocations: 13.72 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.01088, allocations: 310.8 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.01101, allocations: 19.98 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.01113, allocations: 15.97 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.01138, allocations: 48.83 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01138, allocations: 0 / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003461/0.01173, allocations: 65.66 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01175, allocations: 4 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.01176, allocations: 7.938 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01178, allocations: 0 / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01189, allocations: 8.234 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01189, allocations: 0 / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.01196, allocations: 12.03 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.01197, allocations: 0 / 1.004 GB, free: 2.98 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.01208, allocations: 113.8 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.01215, allocations: 7.969 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.01251, allocations: 81.16 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01251, allocations: 0 / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.01252, allocations: 4 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01253, allocations: 0 / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.01274, allocations: 109.3 kB / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01274, allocations: 0 / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.01284, allocations: 12 kB / 1.004 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.01285, allocations: 3.984 kB / 1.004 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.01286, allocations: 0 / 1.004 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.01286, allocations: 3.938 kB / 1.004 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01287, allocations: 3.938 kB / 1.004 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.01328, allocations: 167.4 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.0133, allocations: 11.91 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.01332, allocations: 0 / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.01345, allocations: 7.938 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.01351, allocations: 7.984 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01352, allocations: 4 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.01359, allocations: 79.28 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01359, allocations: 0 / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004768/0.01407, allocations: 12 kB / 1.005 GB, free: 2.301 MB / 0.9512 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 (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.0002768/0.01435, allocations: 119.2 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.01467, allocations: 39.95 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01467, allocations: 0 / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.01481, allocations: 23.92 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.0153, allocations: 8 kB / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.0157, allocations: 110 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.8e-05/0.01579, allocations: 63.34 kB / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.01582, allocations: 4.125 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.01585, allocations: 8.5 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.01585, allocations: 0 / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of Templates: time 0.004898/0.02075, allocations: 0.7521 MB / 1.006 GB, free: 1.137 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 7.942635025829077]