Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001672/0.001671, allocations: 105.3 kB / 16.27 MB, free: 6.418 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.001768/0.001768, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.481/1.481, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001905, allocations: 61.28 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3865, allocations: 159.2 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006863/0.3935, allocations: 4.273 MB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.3977, allocations: 2.373 MB / 1.071 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.3981, allocations: 15.88 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3994, allocations: 374.2 kB / 1.072 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.4004, allocations: 378.1 kB / 1.072 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009486/0.4014, allocations: 314.2 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009734/0.4024, allocations: 0.6828 MB / 1.073 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005154/0.4029, allocations: 258 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.4034, allocations: 255 kB / 1.073 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.4038, allocations: 270.9 kB / 1.074 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.4039, allocations: 28 kB / 1.074 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009094/0.4048, allocations: 435 kB / 1.074 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.405, allocations: 147.6 kB / 1.074 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.4053, allocations: 234.7 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.4062, allocations: 0.7206 MB / 1.075 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4063, allocations: 0 / 1.075 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4063, allocations: 0 / 1.075 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.4063, allocations: 0 / 1.075 GB, free: 4.004 MB / 0.8419 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.001435/0.4077, allocations: 0.7949 MB / 1.076 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4078, allocations: 8.625 kB / 1.076 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.4092, allocations: 180.1 kB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.4098, allocations: 408.5 kB / 1.076 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.4099, allocations: 25.36 kB / 1.076 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.4099, allocations: 32.38 kB / 1.076 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.411, allocations: 0.6549 MB / 1.077 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.411, allocations: 11.84 kB / 1.077 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.4111, allocations: 19.98 kB / 1.077 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/0.4111, allocations: 55.95 kB / 1.077 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.4119, allocations: 0.4889 MB / 1.078 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5994/1.011, allocations: 3.779 MB / 1.081 GB, free: 19.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.013, allocations: 0.6314 MB / 1.082 GB, free: 19.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/1.013, allocations: 180.7 kB / 1.082 GB, free: 19.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/1.013, allocations: 3.75 kB / 1.082 GB, free: 19.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/1.014, allocations: 37.58 kB / 1.082 GB, free: 19.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.886e-06/1.014, allocations: 0 / 1.082 GB, free: 19.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002231/1.016, allocations: 1.284 MB / 1.083 GB, free: 18.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.016, allocations: 109.5 kB / 1.084 GB, free: 18.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/1.016, allocations: 403.2 kB / 1.084 GB, free: 18.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.016, allocations: 30.61 kB / 1.084 GB, free: 18.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/1.016, allocations: 281.1 kB / 1.084 GB, free: 18.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/1.017, allocations: 116.8 kB / 1.084 GB, free: 17.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.017, allocations: 103.6 kB / 1.084 GB, free: 17.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/1.017, allocations: 354.5 kB / 1.085 GB, free: 17.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/1.017, allocations: 173.1 kB / 1.085 GB, free: 17.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/1.017, allocations: 382.5 kB / 1.085 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/1.018, allocations: 0.5938 MB / 1.086 GB, free: 16.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.018, allocations: 2.594 kB / 1.086 GB, free: 16.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001039/1.019, allocations: 0.6709 MB / 1.087 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.019, allocations: 7.5 kB / 1.087 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.019, allocations: 7.75 kB / 1.087 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/1.02, allocations: 99.05 kB / 1.087 GB, free: 16.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/1.02, allocations: 110.2 kB / 1.087 GB, free: 16.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/1.022, allocations: 4.351 MB / 1.091 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/1.023, allocations: 30.22 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/1.023, allocations: 32.62 kB / 1.091 GB, free: 12.13 MB / 0.8419 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.0002007/1.023, allocations: 191.4 kB / 1.091 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/1.023, allocations: 47.66 kB / 1.091 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/1.024, allocations: 0.5252 MB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.024, allocations: 5.031 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.024, allocations: 2.219 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.024, allocations: 1.828 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/1.026, allocations: 1.285 MB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.026, allocations: 3.156 kB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/1.026, allocations: 62.16 kB / 1.093 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/1.026, allocations: 92.58 kB / 1.093 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/1.026, allocations: 9.422 kB / 1.093 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.029, allocations: 4.335 MB / 1.097 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.029, allocations: 3.125 kB / 1.097 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/1.03, allocations: 0.7805 MB / 1.098 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.03, allocations: 156.5 kB / 1.098 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/1.03, allocations: 9.922 kB / 1.098 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/1.03, allocations: 21.45 kB / 1.098 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/1.03, allocations: 38.83 kB / 1.098 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/1.03, allocations: 15.89 kB / 1.098 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003301/1.031, allocations: 278.1 kB / 1.099 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.031, allocations: 0 / 1.099 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006889/1.031, allocations: 125.3 kB / 1.099 GB, free: 5.723 MB / 0.8419 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.0001309/1.032, allocations: 111.8 kB / 1.099 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001262/1.033, allocations: 0.8262 MB / 1.1 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.033, allocations: 0 / 1.1 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/1.034, allocations: 0.5443 MB / 1.1 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/1.034, allocations: 139.8 kB / 1.1 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/1.036, allocations: 0.9598 MB / 1.101 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/1.037, allocations: 0.8603 MB / 1.102 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.037, allocations: 44.42 kB / 1.102 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of SimCode: time 8.21e-07/1.037, allocations: 0 / 1.102 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.01991/1.057, allocations: 11.09 MB / 1.113 GB, free: 2.551 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches