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.0007714/0.0007711, allocations: 92.08 kB / 16.02 MB, free: 80 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.001055/0.001056, allocations: 179.5 kB / 16.92 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.277 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 3.11/3.11, allocations: 437.8 MB / 0.7128 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003685, allocations: 8 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7588, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006056/0.7649, allocations: 4.297 MB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.7695, allocations: 2.331 MB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.7699, allocations: 11.94 kB / 1.03 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.7703, allocations: 63.5 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.7713, allocations: 262.9 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.7724, allocations: 319.4 kB / 1.031 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.7734, allocations: 0.8102 MB / 1.032 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.7748, allocations: 0.6609 MB / 1.032 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.7752, allocations: 175.3 kB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.7759, allocations: 271 kB / 1.033 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.776, allocations: 16 kB / 1.033 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.7766, allocations: 319.4 kB / 1.033 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.7768, allocations: 159.5 kB / 1.033 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.7771, allocations: 216.6 kB / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.7777, allocations: 0.5084 MB / 1.034 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7778, allocations: 0 / 1.034 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7778, allocations: 0 / 1.034 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.7778, allocations: 4 kB / 1.034 GB, free: 5.402 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.001331/0.7791, allocations: 0.6356 MB / 1.034 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7792, allocations: 11.98 kB / 1.034 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.7805, allocations: 168.2 kB / 1.035 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.7811, allocations: 316.6 kB / 1.035 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.7811, allocations: 29.36 kB / 1.035 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.7812, allocations: 32.38 kB / 1.035 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.7823, allocations: 0.6418 MB / 1.036 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.7823, allocations: 7.906 kB / 1.036 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.7824, allocations: 19.98 kB / 1.036 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-05/0.7825, allocations: 40.62 kB / 1.036 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008475/0.7833, allocations: 494.1 kB / 1.036 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.7872, allocations: 3.428 MB / 1.04 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.788, allocations: 384.8 kB / 1.04 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.7882, allocations: 169.6 kB / 1.04 GB, free: 14.6 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.7883, allocations: 11.98 kB / 1.04 GB, free: 14.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.7883, allocations: 38.5 kB / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 2.305e-06/0.7883, allocations: 0 / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.004796/0.7931, allocations: 1.468 MB / 1.042 GB, free: 13.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.7932, allocations: 81.11 kB / 1.042 GB, free: 12.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.7937, allocations: 336.3 kB / 1.042 GB, free: 12.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.7937, allocations: 33.7 kB / 1.042 GB, free: 12.55 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.7939, allocations: 263.2 kB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.794, allocations: 98.62 kB / 1.042 GB, free: 12.19 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.7941, allocations: 41.7 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7942, allocations: 338.8 kB / 1.043 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.7946, allocations: 185 kB / 1.043 GB, free: 11.62 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.795, allocations: 346.1 kB / 1.043 GB, free: 11.21 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007579/0.7958, allocations: 0.5434 MB / 1.044 GB, free: 10.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7958, allocations: 0 / 1.044 GB, free: 10.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002477/0.7983, allocations: 0.916 MB / 1.045 GB, free: 9.664 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.7985, allocations: 245.4 kB / 1.045 GB, free: 9.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.7985, allocations: 8 kB / 1.045 GB, free: 9.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.8009, allocations: 0.501 MB / 1.045 GB, free: 8.832 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.8014, allocations: 103.8 kB / 1.045 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.8072, allocations: 3.776 MB / 1.049 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.8078, allocations: 51.86 kB / 1.049 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.8078, allocations: 23.98 kB / 1.049 GB, free: 4.609 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.8078, allocations: 4 kB / 1.049 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008813/0.8087, allocations: 0.4917 MB / 1.05 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.8088, allocations: 4 kB / 1.05 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.8088, allocations: 8 kB / 1.05 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.8092, allocations: 111.8 kB / 1.05 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8092, allocations: 11.94 kB / 1.05 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.8096, allocations: 40.25 kB / 1.05 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.8096, allocations: 24 kB / 1.05 GB, free: 3.918 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 (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.0002873/0.8099, allocations: 268.9 kB / 1.05 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.81, allocations: 31.62 kB / 1.05 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.8118, allocations: 0.6788 MB / 1.051 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.8118, allocations: 7.984 kB / 1.051 GB, free: 2.914 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.8118, allocations: 0 / 1.051 GB, free: 2.914 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8118, allocations: 0 / 1.051 GB, free: 2.914 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.8128, allocations: 0.6637 MB / 1.051 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.8128, allocations: 0 / 1.051 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.813, allocations: 52 kB / 1.052 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.8146, allocations: 405.2 kB / 1.052 GB, free: 1.734 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.8147, allocations: 4 kB / 1.052 GB, free: 1.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.8187, allocations: 3.486 MB / 1.055 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8187, allocations: 4.062 kB / 1.055 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.8204, allocations: 0.822 MB / 1.056 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.8206, allocations: 152.5 kB / 1.056 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.8207, allocations: 12 kB / 1.056 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.8211, allocations: 35.94 kB / 1.056 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.8212, allocations: 23.97 kB / 1.056 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.8212, allocations: 4 kB / 1.056 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003224/0.8215, allocations: 243 kB / 1.057 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8215, allocations: 0 / 1.057 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001015/0.8226, allocations: 192 kB / 1.057 GB, free: 12.45 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 (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.000195/0.8228, allocations: 115.2 kB / 1.057 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.8246, allocations: 0.9674 MB / 1.058 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.8246, allocations: 0.5625 kB / 1.058 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.8254, allocations: 484.5 kB / 1.058 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.826, allocations: 73.88 kB / 1.058 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.8275, allocations: 0.9799 MB / 1.059 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.8281, allocations: 0.847 MB / 1.06 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.8282, allocations: 31.42 kB / 1.06 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of SimCode: time 7.92e-07/0.8282, allocations: 0 / 1.06 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of Templates: time 0.01379/0.842, allocations: 8.373 MB / 1.068 GB, free: 496 kB / 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/jenkins1/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