Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009966, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001073/0.001073, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.211/2.211, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001123, allocations: 64.34 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2344, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001454/0.2359, allocations: 0.5842 MB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005072/0.2364, allocations: 330.8 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.151e-05/0.2364, allocations: 0 / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.398e-06/0.2364, allocations: 0 / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-06/0.2364, allocations: 0 / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.2368, allocations: 108.1 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.228e-05/0.2368, allocations: 4 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 2.898e-05/0.2369, allocations: 0 / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-06/0.2369, allocations: 0 / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.522e-05/0.2369, allocations: 4 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-06/0.2369, allocations: 0 / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.2373, allocations: 279.6 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.715e-06/0.2373, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.2373, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2374, allocations: 95.77 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2374, allocations: 4 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2375, allocations: 0 / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2375, allocations: 0 / 1.02 GB, free: 8.469 MB / 0.795 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.0002448/0.2377, allocations: 335.5 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.2377, allocations: 12.92 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2378, allocations: 4.938 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.2379, allocations: 160.4 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.2379, allocations: 4.375 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.2379, allocations: 384 / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.207e-05/0.238, allocations: 34.25 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.238, allocations: 192 / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.238, allocations: 3.938 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.238, allocations: 0 / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.238, allocations: 15.88 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.2381, allocations: 141.7 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 2.923e-05/0.2382, allocations: 18.61 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.2382, allocations: 8.859 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/0.2386, allocations: 425.6 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.2386, allocations: 38.55 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2386, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001166/0.2388, allocations: 41.56 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.2388, allocations: 55.41 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.533e-05/0.2388, allocations: 89.86 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.2388, allocations: 25.7 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.2389, allocations: 80.27 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2389, allocations: 4 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.2389, allocations: 9.719 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.239, allocations: 318.8 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.239, allocations: 0 / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.239, allocations: 3.984 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.239, allocations: 12.8 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.239, allocations: 3.938 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.303e-05/0.2391, allocations: 33.77 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2391, allocations: 8 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2391, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2391, allocations: 3.938 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.2392, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.2392, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-06/0.2392, allocations: 4 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.2392, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 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 4.837e-05/0.2393, allocations: 113.8 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.2393, allocations: 4.031 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.2393, allocations: 44.7 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2394, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2394, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2394, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.462e-05/0.2394, allocations: 145.7 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2394, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.2395, allocations: 4 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.2395, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.2395, allocations: 7.969 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2395, allocations: 0 / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2395, allocations: 4 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.344e-05/0.2395, allocations: 61.12 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.2396, allocations: 81.05 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.2396, allocations: 7.875 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-06/0.2396, allocations: 3.938 kB / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.2396, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2396, allocations: 8.031 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of sorting global known variables: time 1.879e-05/0.2397, allocations: 75.28 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2397, allocations: 0 / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001717/0.2398, allocations: 12 kB / 1.023 GB, free: 5.629 MB / 0.795 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.000134/0.24, allocations: 115.2 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.06e-05/0.24, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.24, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.992e-06/0.24, allocations: 8 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.2402, allocations: 4 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001258/0.2403, allocations: 80.97 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.2405, allocations: 0.6728 MB / 1.023 GB, free: 4.688 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.361e-05/0.2405, allocations: 4 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.2405, allocations: 7.438 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2405, allocations: 0 / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of Templates: time 0.03391/0.2744, allocations: 457.9 kB / 1.024 GB, free: 4.23 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches