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.1-maint.10.0.x/package.mo", uses=false) 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: 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.001595/0.001595, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001563/0.001563, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.972/2.972, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 63.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7418, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.004157/0.746, allocations: 1.507 MB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.7472, allocations: 415.6 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.7472, allocations: 0 / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.7473, allocations: 0 / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.7474, allocations: 7.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.7478, allocations: 75.84 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.748, allocations: 27.86 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.7481, allocations: 4 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.7481, allocations: 11.97 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.7482, allocations: 15.92 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.7482, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.7488, allocations: 275.7 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.7488, allocations: 4 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.7488, allocations: 11.92 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.7491, allocations: 103.8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7491, allocations: 4 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7492, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.7492, allocations: 0 / 1.019 GB, free: 324 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.0006957/0.7499, allocations: 365.4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.7499, allocations: 12.03 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.75, allocations: 4.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.7502, allocations: 172.3 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.7502, allocations: 384 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.7502, allocations: 384 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.7505, allocations: 54.17 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7505, allocations: 4.125 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.7505, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7505, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.7508, allocations: 39.95 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.7513, allocations: 252.9 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.7515, allocations: 46.44 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.7516, allocations: 16.91 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009867/0.7526, allocations: 465.5 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.7527, allocations: 30.56 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 4.027e-06/0.7527, allocations: 7.984 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005013/0.7532, allocations: 81.64 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.7533, allocations: 59.34 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.7534, allocations: 101.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.7534, allocations: 29.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.7535, allocations: 84.14 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.7535, allocations: 8.031 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.7536, allocations: 13.72 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7537, allocations: 318.8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.7539, allocations: 11.98 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.754, allocations: 19.98 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.7542, allocations: 40.89 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7542, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003216/0.7545, allocations: 73.53 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7546, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7546, allocations: 256 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7546, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.7547, allocations: 15.98 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.7547, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.7548, allocations: 12.02 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.7548, allocations: 3.984 kB / 1.021 GB, free: 13.7 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 0.0001134/0.7549, allocations: 118.3 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.755, allocations: 3.906 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.7553, allocations: 73.19 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7554, allocations: 3.969 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.7554, allocations: 4 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7554, allocations: 0 / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.7557, allocations: 161.6 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7557, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.7558, allocations: 11.92 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7558, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.7558, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7558, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7558, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.7562, allocations: 167.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.7563, allocations: 77.11 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7563, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.7564, allocations: 7.984 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.7565, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.7565, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.884e-05/0.7566, allocations: 91.3 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7566, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003887/0.757, allocations: 19.94 kB / 1.022 GB, free: 12.86 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.0003082/0.7573, allocations: 107.2 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.7576, allocations: 39.95 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7576, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.7577, allocations: 24.05 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.7582, allocations: 7.875 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.7586, allocations: 119.2 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.759, allocations: 0.677 MB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.759, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.7591, allocations: 15.5 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.855e-06/0.7591, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.004341/0.7634, allocations: 0.655 MB / 1.024 GB, free: 11.16 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches