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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001081/0.001081, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.01013/0.01013, allocations: 172 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004392, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8043/0.8048, allocations: 142.4 MB / 0.955 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004957/0.8098, allocations: 4.285 MB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003766/0.8136, allocations: 2.34 MB / 0.9615 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.814, allocations: 5.406 kB / 0.9615 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.8143, allocations: 63.86 kB / 0.9616 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008751/0.8152, allocations: 278.1 kB / 0.9618 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.8161, allocations: 307.6 kB / 0.9621 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.8169, allocations: 0.8145 MB / 0.9629 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.8181, allocations: 0.6399 MB / 0.9636 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.8185, allocations: 196.1 kB / 0.9637 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.8189, allocations: 268.2 kB / 0.964 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.819, allocations: 18.19 kB / 0.964 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005823/0.8196, allocations: 316.5 kB / 0.9643 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.8197, allocations: 160.3 kB / 0.9645 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.8199, allocations: 221.4 kB / 0.9647 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.8205, allocations: 0.648 MB / 0.9653 GB, free: 212 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8205, allocations: 0 / 0.9653 GB, free: 212 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8205, allocations: 1.25 kB / 0.9653 GB, free: 212 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.8206, allocations: 4 kB / 0.9653 GB, free: 208 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.001041/0.8216, allocations: 0.6355 MB / 0.9659 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.8217, allocations: 10.06 kB / 0.966 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.8229, allocations: 160.2 kB / 0.9661 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.8234, allocations: 322.7 kB / 0.9664 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.8234, allocations: 36.3 kB / 0.9665 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.8235, allocations: 35.91 kB / 0.9665 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.8246, allocations: 0.6337 MB / 0.9671 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.8247, allocations: 2.094 kB / 0.9671 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.8247, allocations: 21.27 kB / 0.9671 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.501e-05/0.8248, allocations: 42.28 kB / 0.9672 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/0.8257, allocations: 496.6 kB / 0.9676 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.8298, allocations: 3.434 MB / 0.971 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/0.8306, allocations: 375.9 kB / 0.9714 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.8308, allocations: 174.6 kB / 0.9715 GB, free: 11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.8309, allocations: 11.16 kB / 0.9715 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.8309, allocations: 45.52 kB / 0.9716 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.993e-06/0.8309, allocations: 0 / 0.9716 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.005051/0.836, allocations: 1.462 MB / 0.973 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.8361, allocations: 84.52 kB / 0.9731 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.8366, allocations: 331.5 kB / 0.9734 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.8366, allocations: 30.86 kB / 0.9734 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.8368, allocations: 258.7 kB / 0.9737 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.774e-05/0.8369, allocations: 103.3 kB / 0.9738 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.837, allocations: 43.8 kB / 0.9738 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8371, allocations: 341.7 kB / 0.9741 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.8375, allocations: 185 kB / 0.9743 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.838, allocations: 344.6 kB / 0.9746 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000823/0.8389, allocations: 0.5356 MB / 0.9752 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8389, allocations: 5 kB / 0.9752 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002637/0.8415, allocations: 0.9187 MB / 0.9761 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.8417, allocations: 254 kB / 0.9763 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.8417, allocations: 5.062 kB / 0.9763 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002415/0.8442, allocations: 0.5038 MB / 0.9768 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.8446, allocations: 94.53 kB / 0.9769 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005656/0.8503, allocations: 3.787 MB / 0.9806 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.8508, allocations: 48.08 kB / 0.9806 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.8509, allocations: 29.5 kB / 0.9807 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.8509, allocations: 4.406 kB / 0.9807 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009364/0.8519, allocations: 497.3 kB / 0.9811 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8519, allocations: 8 kB / 0.9812 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.8519, allocations: 15.92 kB / 0.9812 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.8524, allocations: 111.8 kB / 0.9813 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8524, allocations: 8 kB / 0.9813 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.8528, allocations: 39.81 kB / 0.9813 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.8528, allocations: 20 kB / 0.9813 GB, free: 3.336 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.0003199/0.8532, allocations: 285 kB / 0.9816 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.8533, allocations: 31.62 kB / 0.9816 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.8551, allocations: 0.6754 MB / 0.9823 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.8551, allocations: 8 kB / 0.9823 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8551, allocations: 0 / 0.9823 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8551, allocations: 0 / 0.9823 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.8561, allocations: 0.6559 MB / 0.983 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8561, allocations: 4 kB / 0.983 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.8564, allocations: 43.91 kB / 0.983 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.8579, allocations: 405.3 kB / 0.9834 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.858, allocations: 8 kB / 0.9834 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/0.862, allocations: 3.482 MB / 0.9868 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.862, allocations: 4.031 kB / 0.9868 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.8638, allocations: 0.8181 MB / 0.9876 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.864, allocations: 148.6 kB / 0.9877 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.8641, allocations: 8 kB / 0.9877 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.8645, allocations: 43.94 kB / 0.9878 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.8646, allocations: 27.91 kB / 0.9878 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.8646, allocations: 8 kB / 0.9878 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000298/0.8649, allocations: 239 kB / 0.988 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8649, allocations: 0 / 0.988 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009567/0.8659, allocations: 196 kB / 0.9882 GB, free: 11.87 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.000196/0.8661, allocations: 119.2 kB / 0.9883 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.8681, allocations: 0.9639 MB / 0.9893 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.8681, allocations: 0 / 0.9893 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000764/0.8689, allocations: 481.5 kB / 0.9897 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.8696, allocations: 73.86 kB / 0.9898 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.8712, allocations: 0.9315 MB / 0.9907 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.8717, allocations: 0.847 MB / 0.9916 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000465/0.8721, allocations: 147.3 kB / 0.9917 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.8722, allocations: 27.42 kB / 0.9917 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/0.8722, allocations: 0 / 0.9917 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of Templates: time 0.01421/0.8865, allocations: 6.888 MB / 0.9985 GB, free: 1.324 MB / 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/jenkins/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