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.00108/0.00108, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001279/0.00128, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005448, allocations: 8.5 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3621, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.00532/0.3675, allocations: 4.098 MB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.371, allocations: 2.081 MB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.3713, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.3715, allocations: 63.48 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005859/0.3721, allocations: 211 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.3728, allocations: 275.3 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.3735, allocations: 0.6503 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.3746, allocations: 0.5997 MB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.3749, allocations: 183.3 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.3753, allocations: 259.1 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.3754, allocations: 16 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.3757, allocations: 139.8 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3758, allocations: 151.6 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.376, allocations: 105.5 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.3764, allocations: 491 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3764, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3765, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3765, allocations: 0 / 1.067 GB, free: 11.95 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.001081/0.3776, allocations: 0.6317 MB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3776, allocations: 11.97 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009487/0.3786, allocations: 143.3 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.379, allocations: 331.1 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.379, allocations: 32.98 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.3791, allocations: 28 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.38, allocations: 0.626 MB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.38, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.3801, allocations: 19.92 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.143e-05/0.3802, allocations: 40.64 kB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.3809, allocations: 486.1 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.3845, allocations: 3.417 MB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.3851, allocations: 380.9 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.3854, allocations: 173.6 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3854, allocations: 7.984 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.3855, allocations: 34.56 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.3855, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.004211/0.3897, allocations: 1.469 MB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3897, allocations: 85.11 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.3901, allocations: 324.4 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.3902, allocations: 25.7 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3904, allocations: 259.3 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.3905, allocations: 90.73 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.3905, allocations: 12 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3907, allocations: 338.8 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3909, allocations: 177 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.3913, allocations: 342.1 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.3917, allocations: 224.4 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3917, allocations: 8 kB / 1.077 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002143/0.3938, allocations: 0.9082 MB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/0.3941, allocations: 249.1 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3941, allocations: 4 kB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.3962, allocations: 0.5088 MB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.3966, allocations: 95.75 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/0.4022, allocations: 3.773 MB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.4026, allocations: 43.8 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.4027, allocations: 20 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4027, allocations: 4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006956/0.4034, allocations: 475.2 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4034, allocations: 4 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.4034, allocations: 8 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.4038, allocations: 120.5 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4038, allocations: 8 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.4041, allocations: 35.88 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.4041, allocations: 20 kB / 1.083 GB, free: 11.05 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 (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.0002971/0.4044, allocations: 281.3 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.4045, allocations: 31.62 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.4062, allocations: 0.6714 MB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4062, allocations: 4 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.4062, allocations: 0 / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4062, allocations: 3.984 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/0.4072, allocations: 0.652 MB / 1.084 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4073, allocations: 0 / 1.084 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.4074, allocations: 52 kB / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.4089, allocations: 405.2 kB / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.4089, allocations: 4 kB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.4129, allocations: 3.482 MB / 1.088 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4129, allocations: 8.016 kB / 1.088 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.4146, allocations: 0.8257 MB / 1.089 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.4148, allocations: 140.6 kB / 1.089 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.4148, allocations: 15.98 kB / 1.089 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.4151, allocations: 35.94 kB / 1.089 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.4152, allocations: 31.86 kB / 1.089 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.4152, allocations: 8 kB / 1.089 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002499/0.4155, allocations: 223.1 kB / 1.089 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4155, allocations: 0 / 1.089 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009186/0.4164, allocations: 192 kB / 1.089 GB, free: 3.605 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 (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.0001883/0.4166, allocations: 111.2 kB / 1.09 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.4181, allocations: 0.9549 MB / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4182, allocations: 1.938 kB / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006785/0.4188, allocations: 477.9 kB / 1.091 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.4194, allocations: 70.86 kB / 1.091 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4208, allocations: 0.9203 MB / 1.092 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.4213, allocations: 0.847 MB / 1.093 GB, free: 116 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004275/0.4217, allocations: 139.2 kB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.4218, allocations: 31.38 kB / 1.093 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of SimCode: time 9.72e-07/0.4218, allocations: 0 / 1.093 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.01356/0.4354, allocations: 6.598 MB / 1.099 GB, free: 9.383 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