Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008287/0.0008284, allocations: 86.72 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.0009497/0.0009498, 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.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.653/2.653, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003601, allocations: 12 kB / 0.8154 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8771/0.8775, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005713/0.8833, allocations: 4.107 MB / 0.9585 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.8868, allocations: 2.067 MB / 0.9605 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.8871, allocations: 5.5 kB / 0.9605 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.8874, allocations: 67.73 kB / 0.9605 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006066/0.888, allocations: 222.9 kB / 0.9608 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.8888, allocations: 271 kB / 0.961 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008244/0.8896, allocations: 0.6494 MB / 0.9616 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.8908, allocations: 0.6074 MB / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.8911, allocations: 187.8 kB / 0.9624 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.8916, allocations: 254.2 kB / 0.9627 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.8916, allocations: 18.31 kB / 0.9627 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.892, allocations: 142 kB / 0.9628 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.8922, allocations: 152 kB / 0.963 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.8923, allocations: 101.1 kB / 0.9631 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.8928, allocations: 488.2 kB / 0.9635 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8928, allocations: 6.688 kB / 0.9635 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8928, allocations: 0 / 0.9635 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8928, allocations: 0 / 0.9635 GB, free: 0.9492 MB / 0.7169 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.0008884/0.8937, allocations: 0.6333 MB / 0.9641 GB, free: 396 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8937, allocations: 10.12 kB / 0.9642 GB, free: 396 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/0.8946, allocations: 144.2 kB / 0.9643 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.895, allocations: 320.8 kB / 0.9646 GB, free: 16 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.8951, allocations: 27.62 kB / 0.9646 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.8952, allocations: 32.14 kB / 0.9647 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.8962, allocations: 0.6256 MB / 0.9653 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.8963, allocations: 0 / 0.9653 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.8963, allocations: 15.45 kB / 0.9653 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.8e-05/0.8964, allocations: 42.75 kB / 0.9653 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.8972, allocations: 477.6 kB / 0.9658 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/0.9006, allocations: 3.427 MB / 0.9691 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.9014, allocations: 372 kB / 0.9695 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.9017, allocations: 178.1 kB / 0.9697 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.9017, allocations: 3.312 kB / 0.9697 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.9018, allocations: 40.73 kB / 0.9697 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.9018, allocations: 0 / 0.9697 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004702/0.9065, allocations: 1.456 MB / 0.9711 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.9065, allocations: 83.8 kB / 0.9712 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.9069, allocations: 324.9 kB / 0.9715 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.907, allocations: 30.77 kB / 0.9715 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.9071, allocations: 267.6 kB / 0.9718 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.9072, allocations: 95.23 kB / 0.9719 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.9073, allocations: 9.812 kB / 0.9719 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9074, allocations: 338.4 kB / 0.9722 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.9077, allocations: 176.1 kB / 0.9724 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.9081, allocations: 339 kB / 0.9727 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.9085, allocations: 235.5 kB / 0.9729 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9085, allocations: 0.9062 kB / 0.9729 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002214/0.9107, allocations: 0.9161 MB / 0.9738 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.9109, allocations: 247.9 kB / 0.9741 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.9109, allocations: 9.688 kB / 0.9741 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.913, allocations: 0.4989 MB / 0.9746 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.9134, allocations: 97.56 kB / 0.9746 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/0.9189, allocations: 3.768 MB / 0.9783 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.9194, allocations: 41.34 kB / 0.9784 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.9195, allocations: 22.48 kB / 0.9784 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.9195, allocations: 6.859 kB / 0.9784 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008146/0.9203, allocations: 478.9 kB / 0.9789 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9203, allocations: 5.719 kB / 0.9789 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.9203, allocations: 7.719 kB / 0.9789 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.9207, allocations: 112.6 kB / 0.979 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.9207, allocations: 8.062 kB / 0.979 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.921, allocations: 34.39 kB / 0.979 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.9211, allocations: 20.17 kB / 0.979 GB, free: 4.656 MB / 0.7325 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.0003334/0.9214, allocations: 272.6 kB / 0.9793 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.9215, allocations: 39.91 kB / 0.9793 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.9232, allocations: 0.6755 MB / 0.98 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.9232, allocations: 4.219 kB / 0.98 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9232, allocations: 4 kB / 0.98 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.9233, allocations: 4.922 kB / 0.98 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.9243, allocations: 0.645 MB / 0.9806 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9243, allocations: 5.266 kB / 0.9806 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.9246, allocations: 48.44 kB / 0.9807 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.9259, allocations: 414.5 kB / 0.9811 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.926, allocations: 4 kB / 0.9811 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005138/0.9311, allocations: 3.478 MB / 0.9845 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9312, allocations: 0 / 0.9845 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.9335, allocations: 0.8182 MB / 0.9853 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.9338, allocations: 148.5 kB / 0.9854 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.9339, allocations: 8 kB / 0.9854 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.9344, allocations: 35.94 kB / 0.9855 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.9345, allocations: 35.84 kB / 0.9855 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.9345, allocations: 12 kB / 0.9855 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000418/0.935, allocations: 227 kB / 0.9857 GB, free: 14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.935, allocations: 0 / 0.9857 GB, free: 14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001524/0.9365, allocations: 196.1 kB / 0.9859 GB, free: 13.81 MB / 0.7481 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.0002312/0.9368, allocations: 107 kB / 0.986 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.9393, allocations: 0.959 MB / 0.9869 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9393, allocations: 0 / 0.9869 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.9404, allocations: 482.5 kB / 0.9874 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009792/0.9414, allocations: 70.03 kB / 0.9875 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.9434, allocations: 0.9146 MB / 0.9884 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.9441, allocations: 0.8509 MB / 0.9892 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000651/0.9447, allocations: 143.1 kB / 0.9893 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.9449, allocations: 31.44 kB / 0.9894 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/0.9449, allocations: 3.938 kB / 0.9894 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of Templates: time 0.01782/0.9627, allocations: 6.586 MB / 0.9958 GB, free: 3.598 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches