Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008796, allocations: 97.78 kB / 16.02 MB, free: 76 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.001028/0.001028, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004034, allocations: 19.92 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7311, allocations: 142.4 MB / 0.9557 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004436/0.7356, allocations: 4.283 MB / 0.9599 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.7389, allocations: 2.343 MB / 0.9622 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.7392, allocations: 9.156 kB / 0.9622 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.7395, allocations: 60.59 kB / 0.9623 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.7402, allocations: 273.8 kB / 0.9625 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.7409, allocations: 311.1 kB / 0.9628 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007003/0.7416, allocations: 0.8186 MB / 0.9636 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.7426, allocations: 0.6431 MB / 0.9642 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.7429, allocations: 185.5 kB / 0.9644 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.7433, allocations: 268.4 kB / 0.9647 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.7434, allocations: 17.16 kB / 0.9647 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.7439, allocations: 327.6 kB / 0.965 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.7441, allocations: 149.6 kB / 0.9651 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.7442, allocations: 216.8 kB / 0.9653 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.7447, allocations: 0.5071 MB / 0.9658 GB, free: 464 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7447, allocations: 1.25 kB / 0.9658 GB, free: 464 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7447, allocations: 0 / 0.9658 GB, free: 464 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.7448, allocations: 0 / 0.9658 GB, free: 464 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001009/0.7458, allocations: 0.6357 MB / 0.9665 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.7458, allocations: 9.594 kB / 0.9665 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.7471, allocations: 164.2 kB / 0.9666 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.7475, allocations: 319.8 kB / 0.9669 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.7476, allocations: 31.33 kB / 0.967 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.7477, allocations: 32.16 kB / 0.967 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.7487, allocations: 0.6381 MB / 0.9676 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.7487, allocations: 5.938 kB / 0.9676 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.7488, allocations: 20.97 kB / 0.9676 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.635e-05/0.7489, allocations: 42.31 kB / 0.9677 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.7498, allocations: 492.6 kB / 0.9682 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.754, allocations: 3.449 MB / 0.9715 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.7548, allocations: 375.7 kB / 0.9719 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.7551, allocations: 167.4 kB / 0.972 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.7552, allocations: 15.28 kB / 0.9721 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.7552, allocations: 36.77 kB / 0.9721 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.7552, allocations: 4 kB / 0.9721 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004821/0.76, allocations: 1.471 MB / 0.9735 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.7601, allocations: 83.02 kB / 0.9736 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.7606, allocations: 331.7 kB / 0.9739 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.7606, allocations: 31.7 kB / 0.974 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.7608, allocations: 263.2 kB / 0.9742 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/0.7609, allocations: 99.28 kB / 0.9743 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.761, allocations: 38.11 kB / 0.9743 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7611, allocations: 343 kB / 0.9747 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.7614, allocations: 184.5 kB / 0.9748 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.7619, allocations: 348.9 kB / 0.9752 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.7626, allocations: 0.5434 MB / 0.9757 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7626, allocations: 1.125 kB / 0.9757 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002586/0.7652, allocations: 0.9186 MB / 0.9766 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.7654, allocations: 250.9 kB / 0.9768 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.7654, allocations: 9.25 kB / 0.9769 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.7679, allocations: 0.5036 MB / 0.9773 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.7683, allocations: 98.81 kB / 0.9774 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/0.774, allocations: 3.79 MB / 0.9811 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/0.7747, allocations: 48.95 kB / 0.9812 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.7747, allocations: 24.73 kB / 0.9812 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.7747, allocations: 3.812 kB / 0.9812 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009247/0.7757, allocations: 493.7 kB / 0.9817 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7757, allocations: 5.438 kB / 0.9817 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.7757, allocations: 12.12 kB / 0.9817 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.7761, allocations: 115.2 kB / 0.9818 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.7762, allocations: 11.94 kB / 0.9818 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.7765, allocations: 35.81 kB / 0.9819 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.7766, allocations: 20 kB / 0.9819 GB, free: 3.602 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.7769, allocations: 280.8 kB / 0.9821 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.777, allocations: 35.62 kB / 0.9822 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.7787, allocations: 0.6676 MB / 0.9828 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7787, allocations: 0 / 0.9828 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.7787, allocations: 4 kB / 0.9828 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7787, allocations: 0 / 0.9828 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.7796, allocations: 0.6637 MB / 0.9835 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.7797, allocations: 4 kB / 0.9835 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.7799, allocations: 43.97 kB / 0.9835 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.7815, allocations: 401.3 kB / 0.9839 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.7815, allocations: 8 kB / 0.9839 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.7853, allocations: 3.486 MB / 0.9873 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7854, allocations: 4.031 kB / 0.9873 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.787, allocations: 0.8297 MB / 0.9881 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.7873, allocations: 148.6 kB / 0.9883 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.7874, allocations: 8 kB / 0.9883 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.7878, allocations: 39.94 kB / 0.9883 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.7879, allocations: 19.97 kB / 0.9883 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.7879, allocations: 16.19 kB / 0.9884 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003021/0.7882, allocations: 239 kB / 0.9886 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7882, allocations: 0 / 0.9886 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009751/0.7892, allocations: 196 kB / 0.9888 GB, free: 12.13 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.7894, allocations: 111.2 kB / 0.9889 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.7911, allocations: 0.967 MB / 0.9898 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7911, allocations: 0 / 0.9898 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.7918, allocations: 482.3 kB / 0.9903 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.7925, allocations: 72.97 kB / 0.9904 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.7939, allocations: 0.9799 MB / 0.9913 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.7943, allocations: 0.847 MB / 0.9921 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.7944, allocations: 35.42 kB / 0.9922 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.7944, allocations: 0 / 0.9922 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of Templates: time 0.01132/0.8058, allocations: 8.369 MB / 1 GB, free: 172 kB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches