Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00109/0.00109, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001364/0.001364, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.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.695/2.695, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7915, allocations: 153.8 MB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005952/0.7975, allocations: 4.126 MB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.8022, allocations: 2.054 MB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.8025, allocations: 11.94 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.8028, allocations: 63.48 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.8035, allocations: 215 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.8043, allocations: 269.1 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.8051, allocations: 0.6502 MB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.8063, allocations: 0.6086 MB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.8067, allocations: 183.3 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.8071, allocations: 251.2 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.8072, allocations: 20 kB / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.8077, allocations: 143.8 kB / 1.031 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.8079, allocations: 155.6 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.808, allocations: 105.5 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.8087, allocations: 488.8 kB / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.8087, allocations: 4 kB / 1.031 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8087, allocations: 0 / 1.031 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8087, allocations: 0 / 1.031 GB, free: 6.832 MB / 0.7794 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.001106/0.8098, allocations: 0.6316 MB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.8099, allocations: 12.52 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009467/0.8108, allocations: 139.3 kB / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.8113, allocations: 319.3 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.8113, allocations: 25 kB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.8114, allocations: 39.97 kB / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.8124, allocations: 0.6182 MB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.8124, allocations: 4 kB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.8125, allocations: 12 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/0.8126, allocations: 48.62 kB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.8133, allocations: 474.1 kB / 1.034 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.817, allocations: 3.428 MB / 1.037 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.8177, allocations: 376.9 kB / 1.037 GB, free: 288 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.818, allocations: 169.6 kB / 1.038 GB, free: 112 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.818, allocations: 0 / 1.038 GB, free: 112 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.8181, allocations: 46.5 kB / 1.038 GB, free: 56 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 3.477e-06/0.8181, allocations: 0 / 1.038 GB, free: 56 kB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.004289/0.8224, allocations: 1.465 MB / 1.039 GB, free: 14.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.8224, allocations: 85.06 kB / 1.039 GB, free: 14.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.8228, allocations: 320.4 kB / 1.039 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.8228, allocations: 29.7 kB / 1.039 GB, free: 14.08 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.823, allocations: 267.2 kB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.8231, allocations: 90.73 kB / 1.04 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.8231, allocations: 12 kB / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8233, allocations: 342.8 kB / 1.04 GB, free: 13.37 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.8236, allocations: 177 kB / 1.04 GB, free: 13.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.824, allocations: 338.1 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.8243, allocations: 239.8 kB / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.8243, allocations: 4 kB / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002229/0.8266, allocations: 0.8964 MB / 1.042 GB, free: 11.65 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.8268, allocations: 253.1 kB / 1.042 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.8269, allocations: 4 kB / 1.042 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.829, allocations: 0.501 MB / 1.043 GB, free: 10.81 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.8294, allocations: 95.81 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005693/0.8351, allocations: 3.774 MB / 1.046 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.8356, allocations: 43.81 kB / 1.046 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.8357, allocations: 23.98 kB / 1.046 GB, free: 6.613 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.8357, allocations: 5.719 kB / 1.046 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007611/0.8365, allocations: 479.5 kB / 1.047 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8365, allocations: 4 kB / 1.047 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.8365, allocations: 8.719 kB / 1.047 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.8369, allocations: 107.8 kB / 1.047 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8369, allocations: 15.98 kB / 1.047 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.8372, allocations: 35.83 kB / 1.047 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.8372, allocations: 16 kB / 1.047 GB, free: 5.957 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.8376, allocations: 280.8 kB / 1.047 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.8377, allocations: 31.62 kB / 1.047 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.8393, allocations: 0.6749 MB / 1.048 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.8393, allocations: 4 kB / 1.048 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8393, allocations: 0 / 1.048 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8394, allocations: 3.938 kB / 1.048 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.8403, allocations: 0.6599 MB / 1.049 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8403, allocations: 7.922 kB / 1.049 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.8405, allocations: 43.97 kB / 1.049 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.842, allocations: 405.2 kB / 1.049 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.842, allocations: 8 kB / 1.049 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.8459, allocations: 3.466 MB / 1.052 GB, free: 28 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8459, allocations: 3.984 kB / 1.052 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.8475, allocations: 0.8181 MB / 1.053 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.8477, allocations: 156.5 kB / 1.053 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.8478, allocations: 8 kB / 1.053 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.8481, allocations: 35.94 kB / 1.053 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.8482, allocations: 23.97 kB / 1.053 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.8482, allocations: 8 kB / 1.053 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002625/0.8484, allocations: 234.9 kB / 1.054 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8485, allocations: 0 / 1.054 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009101/0.8494, allocations: 192 kB / 1.054 GB, free: 14.51 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.8496, allocations: 107.2 kB / 1.054 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.8512, allocations: 0.9599 MB / 1.055 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8512, allocations: 0 / 1.055 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008002/0.852, allocations: 474.2 kB / 1.055 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.8526, allocations: 77.47 kB / 1.055 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.8541, allocations: 0.9163 MB / 1.056 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.8547, allocations: 0.8509 MB / 1.057 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004061/0.8551, allocations: 139.3 kB / 1.057 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.8552, allocations: 31.44 kB / 1.057 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of SimCode: time 6.51e-07/0.8552, allocations: 0 / 1.057 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of Templates: time 0.01326/0.8685, allocations: 6.6 MB / 1.064 GB, free: 4.285 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches