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.001241/0.001241, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001497/0.001497, allocations: 177.3 kB / 15.94 MB, free: 228 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.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003971, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7737, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005538/0.7793, allocations: 4.01 MB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.783, allocations: 2.043 MB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.7833, allocations: 8 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.7836, allocations: 67.53 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.7842, allocations: 191.3 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.785, allocations: 270.4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.7855, allocations: 323.2 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.7867, allocations: 0.6105 MB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.7869, allocations: 151.5 kB / 1.028 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.7872, allocations: 179.4 kB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.7873, allocations: 16 kB / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.7876, allocations: 139.8 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.7878, allocations: 155.6 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.7879, allocations: 93.52 kB / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.7885, allocations: 496.6 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7885, allocations: 0 / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7885, allocations: 0 / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7885, allocations: 0 / 1.029 GB, free: 8.34 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.001079/0.7896, allocations: 0.6355 MB / 1.03 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7896, allocations: 8.031 kB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.7907, allocations: 143.3 kB / 1.03 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.7911, allocations: 319.3 kB / 1.03 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.7912, allocations: 25 kB / 1.03 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.7913, allocations: 43.97 kB / 1.03 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008883/0.7922, allocations: 0.6143 MB / 1.031 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.7922, allocations: 0 / 1.031 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.7922, allocations: 16 kB / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.953e-05/0.7923, allocations: 48.56 kB / 1.031 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.793, allocations: 478.2 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/0.7968, allocations: 3.42 MB / 1.035 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.7976, allocations: 376.9 kB / 1.035 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.7976, allocations: 4 kB / 1.035 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.7976, allocations: 34.56 kB / 1.035 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 4.438e-06/0.7976, allocations: 0 / 1.035 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.00473/0.8024, allocations: 1.46 MB / 1.037 GB, free: 244 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.8025, allocations: 85.05 kB / 1.037 GB, free: 140 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.8028, allocations: 324.3 kB / 1.037 GB, free: 15.81 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.8029, allocations: 37.7 kB / 1.037 GB, free: 15.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.8031, allocations: 267.2 kB / 1.037 GB, free: 15.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.8032, allocations: 98.66 kB / 1.038 GB, free: 15.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.8032, allocations: 8 kB / 1.038 GB, free: 15.39 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8033, allocations: 338.8 kB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.8036, allocations: 173 kB / 1.038 GB, free: 14.88 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.8041, allocations: 334.1 kB / 1.038 GB, free: 14.49 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.8045, allocations: 235.8 kB / 1.039 GB, free: 14.26 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8045, allocations: 0 / 1.039 GB, free: 14.26 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002265/0.8068, allocations: 0.9046 MB / 1.039 GB, free: 13.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.00101/0.8078, allocations: 2.094 MB / 1.041 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8078, allocations: 4 kB / 1.041 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.8101, allocations: 0.5049 MB / 1.042 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.8105, allocations: 91.83 kB / 1.042 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/0.8164, allocations: 3.863 MB / 1.046 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.8169, allocations: 43.81 kB / 1.046 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.8169, allocations: 23.98 kB / 1.046 GB, free: 6.277 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.8169, allocations: 7.938 kB / 1.046 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007292/0.8177, allocations: 475.4 kB / 1.046 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8177, allocations: 4 kB / 1.046 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.8177, allocations: 8 kB / 1.046 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.8181, allocations: 103.8 kB / 1.046 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-05/0.8182, allocations: 15.92 kB / 1.046 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.8184, allocations: 36.39 kB / 1.047 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.8185, allocations: 20 kB / 1.047 GB, free: 5.621 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.0004204/0.8189, allocations: 274.8 kB / 1.047 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.819, allocations: 39.62 kB / 1.047 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.8209, allocations: 0.6734 MB / 1.048 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.821, allocations: 4 kB / 1.048 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.821, allocations: 0 / 1.048 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.821, allocations: 0 / 1.048 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.8222, allocations: 0.652 MB / 1.048 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8222, allocations: 4 kB / 1.048 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.8224, allocations: 47.89 kB / 1.048 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.824, allocations: 405.3 kB / 1.049 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.824, allocations: 8 kB / 1.049 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.8285, allocations: 3.556 MB / 1.052 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8285, allocations: 4.031 kB / 1.052 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.8303, allocations: 0.8582 MB / 1.053 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.8305, allocations: 152.5 kB / 1.053 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.8306, allocations: 11.95 kB / 1.053 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.8309, allocations: 35.94 kB / 1.053 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.8311, allocations: 23.97 kB / 1.053 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.8311, allocations: 8 kB / 1.053 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002672/0.8314, allocations: 223 kB / 1.053 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8314, allocations: 0 / 1.053 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009468/0.8323, allocations: 196 kB / 1.054 GB, free: 14.04 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.0001975/0.8325, allocations: 111.2 kB / 1.054 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.8342, allocations: 0.9608 MB / 1.055 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.8342, allocations: 0 / 1.055 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.835, allocations: 479.2 kB / 1.055 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.8354, allocations: 68.53 kB / 1.055 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.8368, allocations: 0.9211 MB / 1.056 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.8373, allocations: 0.8625 MB / 1.057 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004018/0.8377, allocations: 135.1 kB / 1.057 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.8378, allocations: 27.44 kB / 1.057 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.8378, allocations: 0 / 1.057 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.0118/0.8496, allocations: 6.579 MB / 1.063 GB, free: 3.828 MB / 0.8106 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches