Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 106 kB / 16.27 MB, free: 5.969 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.001358/0.001357, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.561/1.561, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.533/2.533, allocations: 437 MB / 0.711 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 72.64 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2928, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006309/0.2992, allocations: 4.282 MB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003924/0.3031, allocations: 2.377 MB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004555/0.3036, allocations: 19.81 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.305, allocations: 371.2 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3062, allocations: 370.1 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009601/0.3071, allocations: 317 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009668/0.3081, allocations: 0.6789 MB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.3086, allocations: 255 kB / 1.026 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.3091, allocations: 259 kB / 1.027 GB, free: 1.754 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.3096, allocations: 274.8 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.3097, allocations: 31.94 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.3106, allocations: 431 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.3108, allocations: 143.6 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.3111, allocations: 238.6 kB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3123, allocations: 0.7245 MB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3124, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3124, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.664e-05/0.3124, allocations: 4 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001512/0.3139, allocations: 0.787 MB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.314, allocations: 12.03 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.3154, allocations: 184.1 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.3161, allocations: 408.4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3161, allocations: 25.38 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.3162, allocations: 36.36 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.3171, allocations: 0.651 MB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.3171, allocations: 4 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.3172, allocations: 15.98 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-05/0.3173, allocations: 55.89 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.318, allocations: 0.49 MB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.3213, allocations: 3.79 MB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.323, allocations: 0.6244 MB / 1.035 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.3232, allocations: 178.5 kB / 1.035 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3233, allocations: 15.91 kB / 1.036 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3233, allocations: 34.56 kB / 1.036 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.295e-06/0.3233, allocations: 0 / 1.036 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002363/0.3257, allocations: 1.277 MB / 1.037 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3258, allocations: 111 kB / 1.037 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.3262, allocations: 397.8 kB / 1.037 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3263, allocations: 29.7 kB / 1.037 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3265, allocations: 283.4 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.3266, allocations: 126.3 kB / 1.038 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.3267, allocations: 102.1 kB / 1.038 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3269, allocations: 350.8 kB / 1.038 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.3272, allocations: 181 kB / 1.038 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.3276, allocations: 375.2 kB / 1.039 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.3283, allocations: 0.5796 MB / 1.039 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3283, allocations: 7.938 kB / 1.039 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001144/0.3295, allocations: 0.6792 MB / 1.04 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3295, allocations: 12 kB / 1.04 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.3295, allocations: 8 kB / 1.04 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.3299, allocations: 98.38 kB / 1.04 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.3304, allocations: 111.8 kB / 1.04 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.3342, allocations: 4.349 MB / 1.044 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.3346, allocations: 27.98 kB / 1.044 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.3347, allocations: 31.98 kB / 1.044 GB, free: 14.3 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.335, allocations: 199.1 kB / 1.045 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.3351, allocations: 43.59 kB / 1.045 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009095/0.336, allocations: 0.5262 MB / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3361, allocations: 4 kB / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3361, allocations: 0 / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3361, allocations: 4 kB / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3379, allocations: 1.279 MB / 1.046 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3379, allocations: 8.281 kB / 1.046 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.3381, allocations: 60.17 kB / 1.046 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.3384, allocations: 82.52 kB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3384, allocations: 16 kB / 1.047 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.3417, allocations: 4.349 MB / 1.051 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.3417, allocations: 7.984 kB / 1.051 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.3427, allocations: 0.7775 MB / 1.052 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.3429, allocations: 152.5 kB / 1.052 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.343, allocations: 12 kB / 1.052 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.3433, allocations: 23.97 kB / 1.052 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.3434, allocations: 35.84 kB / 1.052 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3434, allocations: 12 kB / 1.052 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003003/0.3437, allocations: 275.1 kB / 1.052 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3437, allocations: 0 / 1.052 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007096/0.3444, allocations: 128 kB / 1.052 GB, free: 5.699 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.3446, allocations: 115.2 kB / 1.052 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.3459, allocations: 0.8215 MB / 1.053 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.346, allocations: 7.938 kB / 1.053 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.3467, allocations: 0.5479 MB / 1.054 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/0.3477, allocations: 142.5 kB / 1.054 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3493, allocations: 0.953 MB / 1.055 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3498, allocations: 0.8624 MB / 1.056 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3499, allocations: 39.42 kB / 1.056 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3499, allocations: 0 / 1.056 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.01602/0.366, allocations: 11.09 MB / 1.066 GB, free: 6.973 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches