Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001271/0.001277, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01005/0.01005, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.803/2.803, allocations: 462.6 MB / 0.7363 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003767, allocations: 8.781 kB / 0.9027 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3466, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006243/0.3529, allocations: 4.287 MB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003823/0.3568, allocations: 2.19 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.3571, allocations: 7.938 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.3574, allocations: 59.5 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007739/0.3582, allocations: 250.9 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.3592, allocations: 311.4 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009824/0.3602, allocations: 0.8064 MB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.3615, allocations: 0.6609 MB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.3619, allocations: 175.3 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.3626, allocations: 271 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-05/0.3627, allocations: 16 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.3634, allocations: 291.5 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.3637, allocations: 163.5 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.3641, allocations: 212.7 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.3649, allocations: 0.6309 MB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.365, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.365, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.365, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 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.001239/0.3662, allocations: 0.624 MB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3663, allocations: 15.97 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.3674, allocations: 144.2 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.3679, allocations: 324.4 kB / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.368, allocations: 33.36 kB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/0.368, allocations: 32.38 kB / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.369, allocations: 0.6341 MB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.369, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.3691, allocations: 15.98 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-05/0.3692, allocations: 48.62 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.3699, allocations: 478.1 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.3736, allocations: 3.42 MB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.3743, allocations: 376.9 kB / 1.075 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3745, allocations: 169.6 kB / 1.075 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.3746, allocations: 11.92 kB / 1.075 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3746, allocations: 38.56 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.3746, allocations: 4 kB / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.004632/0.3792, allocations: 1.464 MB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.3793, allocations: 81.11 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.3797, allocations: 332.3 kB / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3797, allocations: 25.7 kB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3799, allocations: 255.4 kB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.38, allocations: 94.64 kB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.3801, allocations: 41.64 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3802, allocations: 350.8 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.3805, allocations: 177 kB / 1.078 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.3808, allocations: 338.1 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.3815, allocations: 0.5357 MB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3815, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002289/0.3838, allocations: 0.9081 MB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.384, allocations: 250.6 kB / 1.08 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.384, allocations: 4 kB / 1.08 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.3863, allocations: 0.5088 MB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.3866, allocations: 91.81 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.392, allocations: 3.786 MB / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.3924, allocations: 43.75 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/0.3925, allocations: 20 kB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.3925, allocations: 8.062 kB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007831/0.3933, allocations: 484.1 kB / 1.084 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3933, allocations: 8 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.3933, allocations: 8 kB / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.3937, allocations: 108 kB / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3937, allocations: 8 kB / 1.084 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.394, allocations: 27.88 kB / 1.085 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.394, allocations: 24 kB / 1.085 GB, free: 9.266 MB / 0.8419 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.0002849/0.3943, allocations: 277.2 kB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.3944, allocations: 35.62 kB / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.3961, allocations: 0.6749 MB / 1.086 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3961, allocations: 4 kB / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.3962, allocations: 0 / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3962, allocations: 0 / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3973, allocations: 0.6598 MB / 1.086 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3973, allocations: 0 / 1.086 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.3975, allocations: 43.91 kB / 1.086 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.3992, allocations: 409.2 kB / 1.087 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.3992, allocations: 15.98 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/0.4034, allocations: 3.482 MB / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4034, allocations: 0 / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.4052, allocations: 0.8181 MB / 1.091 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.4053, allocations: 148.6 kB / 1.091 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4054, allocations: 8 kB / 1.091 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.4058, allocations: 35.94 kB / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.4058, allocations: 31.78 kB / 1.091 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.4059, allocations: 12 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002598/0.4061, allocations: 235 kB / 1.091 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4061, allocations: 0 / 1.091 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009402/0.4071, allocations: 192 kB / 1.091 GB, free: 1.805 MB / 0.8419 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.0001878/0.4073, allocations: 111.2 kB / 1.092 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.4089, allocations: 0.9528 MB / 1.092 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4089, allocations: 4 kB / 1.092 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007901/0.4097, allocations: 473.8 kB / 1.093 GB, free: 220 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.4103, allocations: 80.33 kB / 1.093 GB, free: 144 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4118, allocations: 0.9275 MB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.4123, allocations: 0.847 MB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003877/0.4126, allocations: 143.2 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.4127, allocations: 27.42 kB / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.4127, allocations: 0 / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of Templates: time 0.01309/0.4258, allocations: 6.76 MB / 1.101 GB, free: 7.402 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches