Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.008092/0.008092, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001714/0.001714, allocations: 196 kB / 16.67 MB, free: 6.352 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 61.86 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3669, allocations: 140.4 MB / 1.088 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006977/0.3739, allocations: 4.279 MB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.3784, allocations: 2.369 MB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005011/0.3789, allocations: 23.88 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3803, allocations: 364.2 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.3816, allocations: 390.1 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3827, allocations: 313.5 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3838, allocations: 0.6906 MB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.3844, allocations: 269.9 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.385, allocations: 258.9 kB / 1.097 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.3855, allocations: 274.8 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.911e-05/0.3856, allocations: 28 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008909/0.3865, allocations: 423 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.3867, allocations: 151.5 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.3871, allocations: 242.7 kB / 1.098 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.3884, allocations: 0.7276 MB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.3884, allocations: 3.984 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3884, allocations: 0 / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.3885, allocations: 0 / 1.098 GB, free: 6.828 MB / 0.8575 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.001681/0.3901, allocations: 0.7941 MB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3902, allocations: 16.03 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.3918, allocations: 192.3 kB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/0.3926, allocations: 440.8 kB / 1.1 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3927, allocations: 25.38 kB / 1.1 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.3927, allocations: 40.31 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.3937, allocations: 0.6588 MB / 1.101 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.3938, allocations: 3.938 kB / 1.101 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.3938, allocations: 23.88 kB / 1.101 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-05/0.3939, allocations: 47.97 kB / 1.101 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/0.3947, allocations: 0.4954 MB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.3985, allocations: 3.779 MB / 1.105 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4003, allocations: 0.6399 MB / 1.105 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.4005, allocations: 174.4 kB / 1.106 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.4006, allocations: 8 kB / 1.106 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4006, allocations: 38.56 kB / 1.106 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.4006, allocations: 0 / 1.106 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002386/0.403, allocations: 1.291 MB / 1.107 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.4031, allocations: 106.8 kB / 1.107 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.4036, allocations: 401.8 kB / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.4037, allocations: 34.27 kB / 1.107 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.4039, allocations: 284.2 kB / 1.108 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.404, allocations: 126.9 kB / 1.108 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.4041, allocations: 102.2 kB / 1.108 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4043, allocations: 350.8 kB / 1.108 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.4046, allocations: 173 kB / 1.108 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.405, allocations: 383.6 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.4057, allocations: 0.587 MB / 1.109 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4058, allocations: 3.938 kB / 1.109 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001083/0.4068, allocations: 0.6756 MB / 1.11 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4069, allocations: 11.94 kB / 1.11 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4069, allocations: 8.062 kB / 1.11 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000368/0.4073, allocations: 102.4 kB / 1.11 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.4077, allocations: 111.8 kB / 1.11 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.4116, allocations: 4.337 MB / 1.114 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.412, allocations: 40.06 kB / 1.114 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.4121, allocations: 24 kB / 1.114 GB, free: 5.117 MB / 0.8731 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.000256/0.4124, allocations: 201.5 kB / 1.115 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.4125, allocations: 47.72 kB / 1.115 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.4134, allocations: 0.5147 MB / 1.115 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4134, allocations: 4 kB / 1.115 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.4135, allocations: 7.984 kB / 1.115 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4135, allocations: 0 / 1.115 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.4157, allocations: 1.279 MB / 1.116 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.4157, allocations: 7.984 kB / 1.117 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.416, allocations: 55.91 kB / 1.117 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.4163, allocations: 94.72 kB / 1.117 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.4163, allocations: 12 kB / 1.117 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.4206, allocations: 4.336 MB / 1.121 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.4206, allocations: 11.95 kB / 1.121 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4217, allocations: 0.7871 MB / 1.122 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.422, allocations: 156.7 kB / 1.122 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.422, allocations: 15.98 kB / 1.122 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.4224, allocations: 19.98 kB / 1.122 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.4225, allocations: 39.83 kB / 1.122 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4225, allocations: 16 kB / 1.122 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003354/0.4228, allocations: 275.1 kB / 1.122 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4228, allocations: 0 / 1.122 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008472/0.4237, allocations: 120 kB / 1.122 GB, free: 12.52 MB / 0.8887 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.0002547/0.424, allocations: 111.2 kB / 1.122 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.4257, allocations: 0.8107 MB / 1.123 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.4257, allocations: 8.125 kB / 1.123 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.4265, allocations: 0.5388 MB / 1.124 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.4275, allocations: 130.3 kB / 1.124 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.4292, allocations: 0.9213 MB / 1.125 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.4298, allocations: 0.8664 MB / 1.126 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.4302, allocations: 108.5 kB / 1.126 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4303, allocations: 35.44 kB / 1.126 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of SimCode: time 1.674e-06/0.4303, allocations: 0 / 1.126 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.01191/0.4422, allocations: 5.846 MB / 1.131 GB, free: 3.027 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches