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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001013/0.001013, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007876/0.007877, allocations: 169.5 kB / 16.26 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 11.98 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.7999, allocations: 153.8 MB / 1.023 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005332/0.8053, allocations: 4.289 MB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.8092, allocations: 2.335 MB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.8095, allocations: 4 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.8098, allocations: 67.44 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007569/0.8105, allocations: 270.9 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.8115, allocations: 315.4 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008054/0.8123, allocations: 0.8102 MB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.8135, allocations: 0.6602 MB / 1.032 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.8138, allocations: 179.2 kB / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.8142, allocations: 275 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.8143, allocations: 16 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.8149, allocations: 323.4 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.8151, allocations: 151.6 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.8153, allocations: 220.6 kB / 1.033 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.8161, allocations: 0.6483 MB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8161, allocations: 0 / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8161, allocations: 0 / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.8161, allocations: 0 / 1.033 GB, free: 5.473 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.001108/0.8173, allocations: 0.6434 MB / 1.034 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8173, allocations: 11.98 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.8186, allocations: 160.2 kB / 1.034 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.819, allocations: 320.6 kB / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.8191, allocations: 29.38 kB / 1.034 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.8191, allocations: 40.36 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.8202, allocations: 0.6341 MB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.8202, allocations: 3.906 kB / 1.035 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.8203, allocations: 16 kB / 1.035 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.481e-05/0.8204, allocations: 48.56 kB / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.8212, allocations: 490.1 kB / 1.036 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.8248, allocations: 3.448 MB / 1.039 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.8255, allocations: 376.8 kB / 1.039 GB, free: 14.83 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.8257, allocations: 169.6 kB / 1.04 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.8258, allocations: 3.984 kB / 1.04 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.8258, allocations: 46.56 kB / 1.04 GB, free: 14.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.8258, allocations: 0 / 1.04 GB, free: 14.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.004838/0.8307, allocations: 1.47 MB / 1.041 GB, free: 13.08 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.8307, allocations: 81.05 kB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.8312, allocations: 336.4 kB / 1.041 GB, free: 12.64 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.8312, allocations: 29.7 kB / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.8314, allocations: 263.2 kB / 1.042 GB, free: 12.35 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.8315, allocations: 94.66 kB / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.8316, allocations: 45.7 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8317, allocations: 346.7 kB / 1.042 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.832, allocations: 181 kB / 1.042 GB, free: 11.68 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.8324, allocations: 346 kB / 1.043 GB, free: 11.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.8331, allocations: 0.5395 MB / 1.043 GB, free: 10.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8331, allocations: 4 kB / 1.043 GB, free: 10.65 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002388/0.8355, allocations: 0.9199 MB / 1.044 GB, free: 9.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.8357, allocations: 249.4 kB / 1.044 GB, free: 9.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.8357, allocations: 8 kB / 1.044 GB, free: 9.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.8381, allocations: 0.5009 MB / 1.045 GB, free: 8.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.8385, allocations: 95.88 kB / 1.045 GB, free: 8.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.8443, allocations: 3.786 MB / 1.049 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.8449, allocations: 43.81 kB / 1.049 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.8449, allocations: 31.98 kB / 1.049 GB, free: 4.66 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.8449, allocations: 4 kB / 1.049 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000866/0.8458, allocations: 499.9 kB / 1.049 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8458, allocations: 4 kB / 1.049 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.433e-06/0.8458, allocations: 8 kB / 1.049 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.8463, allocations: 115.8 kB / 1.049 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.8463, allocations: 11.94 kB / 1.049 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.8466, allocations: 39.81 kB / 1.049 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.8467, allocations: 20 kB / 1.049 GB, free: 3.973 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.0002924/0.847, allocations: 276.9 kB / 1.05 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.8471, allocations: 31.62 kB / 1.05 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.8489, allocations: 0.669 MB / 1.05 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8489, allocations: 7.984 kB / 1.05 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8489, allocations: 4 kB / 1.05 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8489, allocations: 4 kB / 1.05 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.8498, allocations: 0.652 MB / 1.051 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.8498, allocations: 0 / 1.051 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.8501, allocations: 51.84 kB / 1.051 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.8516, allocations: 405.3 kB / 1.051 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.8516, allocations: 8 kB / 1.051 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/0.8558, allocations: 3.494 MB / 1.055 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.8558, allocations: 8.016 kB / 1.055 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.8575, allocations: 0.8181 MB / 1.056 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.8577, allocations: 148.6 kB / 1.056 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.8578, allocations: 8 kB / 1.056 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.8582, allocations: 39.92 kB / 1.056 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.8583, allocations: 27.97 kB / 1.056 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.8583, allocations: 8 kB / 1.056 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002923/0.8586, allocations: 239 kB / 1.056 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8586, allocations: 0 / 1.056 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008927/0.8595, allocations: 192 kB / 1.056 GB, free: 12.5 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.0001638/0.8597, allocations: 111.2 kB / 1.056 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.8615, allocations: 0.9705 MB / 1.057 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8615, allocations: 0 / 1.057 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.8625, allocations: 478.7 kB / 1.058 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.8631, allocations: 71.8 kB / 1.058 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.8643, allocations: 0.9241 MB / 1.059 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.8649, allocations: 0.847 MB / 1.06 GB, free: 9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005223/0.8654, allocations: 143.2 kB / 1.06 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.8655, allocations: 31.42 kB / 1.06 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.8655, allocations: 4 kB / 1.06 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of Templates: time 0.01186/0.8774, allocations: 6.875 MB / 1.066 GB, free: 1.984 MB / 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/jenkins/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