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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 179.9 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009137/0.0009137, allocations: 110.2 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.000363, allocations: 11.59 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2993, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.5257, allocations: 185.4 MB / 1.41 GB, free: 88 kB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.526, allocations: 107.9 kB / 1.41 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6985/1.225, allocations: 30.88 MB / 1.44 GB, free: 185 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.043e-06/1.225, allocations: 1.312 kB / 1.44 GB, free: 185 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.311e-05/1.225, allocations: 11.91 kB / 1.44 GB, free: 185 MB / 0.9167 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.001605/1.226, allocations: 0.6775 MB / 1.441 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.226, allocations: 13.67 kB / 1.441 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/1.228, allocations: 142 kB / 1.441 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/1.228, allocations: 321.3 kB / 1.442 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/1.228, allocations: 29.23 kB / 1.442 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/1.228, allocations: 41.59 kB / 1.442 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/1.229, allocations: 0.6115 MB / 1.442 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/1.229, allocations: 2.406 kB / 1.442 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/1.229, allocations: 16.38 kB / 1.442 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/1.23, allocations: 30.88 kB / 1.442 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/1.231, allocations: 473.2 kB / 1.443 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/1.234, allocations: 3.439 MB / 1.446 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/1.235, allocations: 374 kB / 1.446 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/1.235, allocations: 2.469 kB / 1.446 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.235, allocations: 36.78 kB / 1.447 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 2.986e-06/1.235, allocations: 0 / 1.447 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.003614/1.239, allocations: 1.298 MB / 1.448 GB, free: 181 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.239, allocations: 82 kB / 1.448 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/1.239, allocations: 288.4 kB / 1.448 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/1.239, allocations: 30.95 kB / 1.448 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.239, allocations: 263.7 kB / 1.448 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/1.239, allocations: 102.2 kB / 1.449 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/1.239, allocations: 13.53 kB / 1.449 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/1.239, allocations: 344.5 kB / 1.449 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/1.24, allocations: 175.3 kB / 1.449 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/1.24, allocations: 337.3 kB / 1.449 GB, free: 180 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/1.24, allocations: 231.9 kB / 1.45 GB, free: 180 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.24, allocations: 2.219 kB / 1.45 GB, free: 180 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002043/1.243, allocations: 0.853 MB / 1.45 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004413/1.243, allocations: 2.098 MB / 1.452 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.243, allocations: 5.125 kB / 1.452 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/1.245, allocations: 411.4 kB / 1.453 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/1.245, allocations: 103.9 kB / 1.453 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009836/1.246, allocations: 1.249 MB / 1.454 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/1.247, allocations: 40.27 kB / 1.454 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/1.247, allocations: 27.48 kB / 1.454 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.247, allocations: 7.656 kB / 1.454 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008147/1.248, allocations: 472.6 kB / 1.455 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.248, allocations: 4.844 kB / 1.455 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.248, allocations: 9.375 kB / 1.455 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/1.248, allocations: 109.2 kB / 1.455 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.248, allocations: 12.06 kB / 1.455 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1.248, allocations: 31.84 kB / 1.455 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/1.248, allocations: 20.69 kB / 1.455 GB, free: 176.5 MB / 0.9167 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.0003428/1.249, allocations: 275.7 kB / 1.455 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.249, allocations: 32.91 kB / 1.455 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/1.251, allocations: 0.6718 MB / 1.456 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.251, allocations: 3.688 kB / 1.456 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/1.251, allocations: 0 / 1.456 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.251, allocations: 5.312 kB / 1.456 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/1.252, allocations: 0.6501 MB / 1.456 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.252, allocations: 5.094 kB / 1.456 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/1.252, allocations: 43.97 kB / 1.457 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/1.254, allocations: 403.9 kB / 1.457 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/1.254, allocations: 10.22 kB / 1.457 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/1.257, allocations: 3.562 MB / 1.46 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.257, allocations: 1.469 kB / 1.46 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/1.259, allocations: 0.8651 MB / 1.461 GB, free: 173 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/1.26, allocations: 139.9 kB / 1.461 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/1.26, allocations: 5.75 kB / 1.461 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/1.26, allocations: 47.77 kB / 1.461 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.26, allocations: 27.61 kB / 1.461 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/1.26, allocations: 6.812 kB / 1.461 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004103/1.261, allocations: 225.1 kB / 1.462 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.61e-07/1.261, allocations: 0 / 1.462 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001529/1.262, allocations: 196.5 kB / 1.462 GB, free: 172.8 MB / 0.9167 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.0003074/1.263, allocations: 127.6 kB / 1.462 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.265, allocations: 0.7182 MB / 1.463 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.265, allocations: 0 / 1.463 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008984/1.266, allocations: 479.3 kB / 1.463 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/1.266, allocations: 65.06 kB / 1.463 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/1.268, allocations: 0.9152 MB / 1.464 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/1.269, allocations: 0.8551 MB / 1.465 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005716/1.269, allocations: 138.1 kB / 1.465 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/1.269, allocations: 33.53 kB / 1.465 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.904e-06/1.269, allocations: 0.5312 kB / 1.465 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.01196/1.281, allocations: 5.641 MB / 1.471 GB, free: 170 MB / 0.9167 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