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.001545/0.001546, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.002136/0.002136, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.521/2.521, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001775, allocations: 64.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 151.6 MB / 1.167 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.007945/1.059, allocations: 4.652 MB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004348/1.064, allocations: 2.342 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/1.064, allocations: 11.94 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.066, allocations: 0.5424 MB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008847/1.067, allocations: 298.6 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/1.068, allocations: 344.4 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008289/1.068, allocations: 0.5801 MB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006226/1.069, allocations: 357.6 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/1.069, allocations: 231.2 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005416/1.07, allocations: 291 kB / 1.177 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.77e-05/1.07, allocations: 36 kB / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/1.071, allocations: 279.5 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/1.071, allocations: 175.6 kB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003055/1.071, allocations: 214.9 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000881/1.072, allocations: 0.662 MB / 1.178 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.072, allocations: 0 / 1.178 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.276e-06/1.072, allocations: 0 / 1.178 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.705e-05/1.072, allocations: 3.938 kB / 1.178 GB, free: 9.031 MB / 0.9044 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.001404/1.074, allocations: 0.7214 MB / 1.179 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.074, allocations: 16.86 kB / 1.179 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/1.075, allocations: 156.2 kB / 1.179 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/1.076, allocations: 340.5 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/1.076, allocations: 21.38 kB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/1.076, allocations: 40.36 kB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.077, allocations: 0.6341 MB / 1.18 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/1.077, allocations: 3.906 kB / 1.18 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/1.077, allocations: 23.94 kB / 1.18 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.631e-05/1.077, allocations: 44.62 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/1.078, allocations: 490.1 kB / 1.18 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/1.082, allocations: 3.432 MB / 1.184 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/1.082, allocations: 376.9 kB / 1.184 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/1.083, allocations: 169.6 kB / 1.184 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/1.083, allocations: 4 kB / 1.184 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.083, allocations: 42.56 kB / 1.184 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/1.083, allocations: 0 / 1.184 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.004616/1.087, allocations: 1.45 MB / 1.186 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.087, allocations: 85.05 kB / 1.186 GB, free: 492 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/1.088, allocations: 340.3 kB / 1.186 GB, free: 148 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/1.088, allocations: 29.7 kB / 1.186 GB, free: 112 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/1.088, allocations: 259.3 kB / 1.186 GB, free: 15.85 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/1.088, allocations: 90.66 kB / 1.187 GB, free: 15.76 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.088, allocations: 98.14 kB / 1.187 GB, free: 15.65 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.089, allocations: 342.8 kB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/1.089, allocations: 187 kB / 1.187 GB, free: 15.12 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/1.089, allocations: 342.1 kB / 1.187 GB, free: 14.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/1.09, allocations: 0.5479 MB / 1.188 GB, free: 14.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/1.09, allocations: 4 kB / 1.188 GB, free: 14.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002418/1.093, allocations: 0.9164 MB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/1.093, allocations: 10.34 kB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.093, allocations: 7.984 kB / 1.189 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/1.095, allocations: 0.4974 MB / 1.189 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/1.095, allocations: 103.8 kB / 1.189 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/1.101, allocations: 4.058 MB / 1.193 GB, free: 8.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/1.102, allocations: 51.86 kB / 1.193 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/1.102, allocations: 23.98 kB / 1.194 GB, free: 8.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004559/1.102, allocations: 305.1 kB / 1.194 GB, free: 7.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004007/1.103, allocations: 339.7 kB / 1.194 GB, free: 7.422 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000692/1.103, allocations: 0.5018 MB / 1.195 GB, free: 6.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/1.103, allocations: 4 kB / 1.195 GB, free: 6.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009537/1.104, allocations: 0.5396 MB / 1.195 GB, free: 6.289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.104, allocations: 8 kB / 1.195 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.104, allocations: 12.69 kB / 1.195 GB, free: 6.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/1.104, allocations: 8 kB / 1.195 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/1.105, allocations: 119.7 kB / 1.195 GB, free: 6.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/1.105, allocations: 15.94 kB / 1.195 GB, free: 6.129 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/1.105, allocations: 39.81 kB / 1.195 GB, free: 6.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.105, allocations: 19.98 kB / 1.195 GB, free: 6.07 MB / 0.92 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.0001893/1.106, allocations: 208.1 kB / 1.196 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.106, allocations: 35.62 kB / 1.196 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/1.108, allocations: 0.6717 MB / 1.196 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/1.108, allocations: 7.938 kB / 1.196 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.108, allocations: 0 / 1.196 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/1.108, allocations: 144.5 kB / 1.196 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/1.108, allocations: 7.938 kB / 1.196 GB, free: 4.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/1.108, allocations: 43.94 kB / 1.196 GB, free: 4.914 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/1.108, allocations: 23.97 kB / 1.196 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001272/1.11, allocations: 0.6642 MB / 1.197 GB, free: 4.215 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008356/1.11, allocations: 0.7413 MB / 1.198 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002067/1.111, allocations: 143.9 kB / 1.198 GB, free: 3.316 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003057/1.111, allocations: 235 kB / 1.198 GB, free: 3.086 MB / 0.92 GB Notification: Performance of Backend: time 3.11e-07/1.111, allocations: 4 kB / 1.198 GB, free: 3.082 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002341/1.113, allocations: 1.05 MB / 1.199 GB, free: 2.004 MB / 0.92 GB Notification: Performance of SimCode: time 0.00157/1.115, allocations: 1.193 MB / 1.2 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of Templates: time 0.0181/1.133, allocations: 9.77 MB / 1.21 GB, free: 7.035 MB / 0.9356 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/jenkins1/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