Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_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.001398/0.001398, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 197 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.706/2.706, allocations: 437 MB / 0.7106 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.84 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7105, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003289/0.7139, allocations: 1.517 MB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.7149, allocations: 423.5 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.715, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.7151, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.7152, allocations: 3.938 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.7156, allocations: 79.83 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.7157, allocations: 23.94 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.7158, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.7158, allocations: 15.92 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.7159, allocations: 15.92 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.7159, allocations: 4 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.7163, allocations: 267.6 kB / 1.02 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.7164, allocations: 8 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.7164, allocations: 7.922 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.7166, allocations: 71.89 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.7166, allocations: 7.984 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7166, allocations: 0 / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7166, allocations: 0 / 1.02 GB, free: 388 kB / 0.7637 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.0005577/0.7172, allocations: 361.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7172, allocations: 8.031 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.7173, allocations: 4.938 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7174, allocations: 164.3 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.7175, allocations: 12.3 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.7175, allocations: 384 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.7177, allocations: 50.25 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7177, allocations: 4.125 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.7177, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7177, allocations: 3.984 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.7179, allocations: 31.97 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.7183, allocations: 252.9 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.7185, allocations: 50.44 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.7186, allocations: 20.91 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.7193, allocations: 461.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.135e-05/0.7194, allocations: 34.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.7194, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003791/0.7198, allocations: 81.73 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.7199, allocations: 59.38 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.7199, allocations: 109.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.72, allocations: 25.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.72, allocations: 88.14 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.72, allocations: 3.906 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.7201, allocations: 13.72 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7202, allocations: 318.8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.7203, allocations: 15.98 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.7204, allocations: 19.98 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.7205, allocations: 40.81 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7205, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002188/0.7208, allocations: 69.67 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7208, allocations: 7.938 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.7208, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7208, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.7209, allocations: 11.98 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.7209, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.721, allocations: 11.98 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.721, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 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 8.125e-05/0.7211, allocations: 113.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.7211, allocations: 7.906 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.7214, allocations: 77.17 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.7214, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7214, allocations: 3.938 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7214, allocations: 3.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.7216, allocations: 161.6 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7216, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-05/0.7216, allocations: 19.95 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7217, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7217, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7217, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7217, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.7219, allocations: 167.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.722, allocations: 81.14 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.722, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.7221, allocations: 7.984 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.7221, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.7221, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.902e-05/0.7222, allocations: 91.52 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7222, allocations: 3.938 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000236/0.7224, allocations: 19.94 kB / 1.023 GB, free: 12.92 MB / 0.7794 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.0001932/0.7226, allocations: 111.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.7229, allocations: 47.89 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7229, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.723, allocations: 15.98 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.7233, allocations: 7.938 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.7236, allocations: 145 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.724, allocations: 0.677 MB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.7241, allocations: 7.438 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7241, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.002273/0.7264, allocations: 0.7021 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches