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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001154/0.001154, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.333/2.333, allocations: 443.5 MB / 0.7304 GB, free: 13.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.88 kB / 1.059 GB, free: 1.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2684, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002664/0.2711, allocations: 1.456 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.2718, allocations: 395.5 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.2719, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.2719, allocations: 3.938 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.2719, allocations: 4 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.2724, allocations: 115.6 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.2724, allocations: 27.91 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.2725, allocations: 4.281 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.2726, allocations: 11.98 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.2726, allocations: 19.92 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2726, allocations: 0 / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.273, allocations: 271.7 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.273, allocations: 11.94 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.2731, allocations: 11.92 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2733, allocations: 107.6 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2733, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2733, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2733, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 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.000497/0.2738, allocations: 375.1 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2738, allocations: 12.03 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.2738, allocations: 30.75 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.2739, allocations: 0.9375 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.274, allocations: 168.4 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.274, allocations: 4.375 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.274, allocations: 384 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.2742, allocations: 54.17 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2742, allocations: 3.938 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2742, allocations: 8 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2742, allocations: 3.938 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.2744, allocations: 27.97 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.2747, allocations: 252.9 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2749, allocations: 42.44 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.2749, allocations: 24.91 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007179/0.2757, allocations: 457.5 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2757, allocations: 38.56 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2757, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.276, allocations: 81.64 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2761, allocations: 51.41 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.2762, allocations: 105.8 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2762, allocations: 33.83 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.2762, allocations: 80.14 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2762, allocations: 3.953 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2763, allocations: 21.66 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2764, allocations: 318.8 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.2765, allocations: 19.98 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.2766, allocations: 11.98 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2767, allocations: 44.88 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2767, allocations: 3.938 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002063/0.2769, allocations: 65.67 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2769, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.2769, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.277, allocations: 8.016 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.277, allocations: 8 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.277, allocations: 3.938 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.2771, allocations: 15.88 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2771, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 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.593e-05/0.2772, allocations: 116.6 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.2772, allocations: 4 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.2774, allocations: 73.44 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2774, allocations: 3.984 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2775, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2775, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2776, allocations: 165.6 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2776, allocations: 0 / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.2777, allocations: 11.97 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2777, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-06/0.2777, allocations: 4 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2777, allocations: 4.031 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.2777, allocations: 7.922 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.278, allocations: 159.5 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.278, allocations: 89 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.278, allocations: 0 / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.2781, allocations: 7.984 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.2781, allocations: 8.031 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.2781, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.2782, allocations: 87.27 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2782, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002196/0.2784, allocations: 12 kB / 1.221 GB, free: 10.03 MB / 0.9669 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.000596/0.279, allocations: 0.72 MB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.2792, allocations: 35.95 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2792, allocations: 0 / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.2793, allocations: 19.98 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2795, allocations: 8.156 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.28, allocations: 147.7 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.2803, allocations: 0.6768 MB / 1.222 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.951e-05/0.2803, allocations: 0 / 1.222 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.2803, allocations: 15.44 kB / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.2803, allocations: 0 / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3027, allocations: 1.583 MB / 1.224 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.365, allocations: 6.094 kB / 1.224 GB, free: 6.809 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.518707502997131]