Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001354, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001602/0.001602, allocations: 191.7 kB / 16.25 MB, free: 6.645 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 469.8 MB / 0.742 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.44 kB / 0.908 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3711, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005145/0.3763, allocations: 2.68 MB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.3793, allocations: 1.566 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3794, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007365/0.3802, allocations: 180.1 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.3806, allocations: 131.5 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.3811, allocations: 167.7 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.3814, allocations: 211.3 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.3818, allocations: 149 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.382, allocations: 87.69 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.3822, allocations: 107.6 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3823, allocations: 12 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.3827, allocations: 211.6 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.3828, allocations: 67.81 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.3829, allocations: 83.58 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.3834, allocations: 307.4 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3834, allocations: 0 / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3834, allocations: 0 / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3834, allocations: 0 / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009006/0.3843, allocations: 483.1 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3844, allocations: 8.031 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007769/0.3852, allocations: 88.64 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.3855, allocations: 229.2 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3855, allocations: 8.656 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.3856, allocations: 16.31 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.3862, allocations: 299.5 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3862, allocations: 7.906 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3862, allocations: 7.984 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.3863, allocations: 12.23 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.3868, allocations: 228.4 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3889, allocations: 1.599 MB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.3894, allocations: 323.2 kB / 1.072 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3895, allocations: 65.67 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3895, allocations: 0 / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3896, allocations: 38.56 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.3896, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0006042/0.3902, allocations: 236.6 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.3903, allocations: 85.11 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3906, allocations: 203.4 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3906, allocations: 29.7 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3907, allocations: 159.8 kB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.3908, allocations: 35.73 kB / 1.073 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3909, allocations: 57.59 kB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.391, allocations: 322.8 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3912, allocations: 76.81 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3915, allocations: 163 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.3918, allocations: 242.8 kB / 1.074 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3918, allocations: 4 kB / 1.074 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005441/0.3924, allocations: 265.5 kB / 1.074 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3924, allocations: 9.406 kB / 1.074 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3924, allocations: 7.984 kB / 1.074 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3925, allocations: 7.938 kB / 1.074 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.3927, allocations: 51.91 kB / 1.074 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3928, allocations: 7.938 kB / 1.074 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.393, allocations: 27.91 kB / 1.074 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.393, allocations: 8 kB / 1.074 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002381/0.3933, allocations: 172.1 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002215/0.3935, allocations: 152 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003119/0.3938, allocations: 219.7 kB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.3938, allocations: 0 / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004667/0.3943, allocations: 257.1 kB / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3943, allocations: 7.984 kB / 1.075 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3943, allocations: 4.469 kB / 1.075 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.3944, allocations: 4.531 kB / 1.075 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.3946, allocations: 63.91 kB / 1.075 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3946, allocations: 7.938 kB / 1.075 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3948, allocations: 15.98 kB / 1.075 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.3949, allocations: 12 kB / 1.075 GB, free: 1.863 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.395, allocations: 192.2 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.3951, allocations: 15.81 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.3953, allocations: 154.9 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3954, allocations: 7.938 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3954, allocations: 0 / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3954, allocations: 3.938 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3964, allocations: 0.7157 MB / 1.076 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3964, allocations: 4 kB / 1.076 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3965, allocations: 27.92 kB / 1.076 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/0.3966, allocations: 7.984 kB / 1.076 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3966, allocations: 4 kB / 1.076 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3966, allocations: 4 kB / 1.076 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3966, allocations: 4.344 kB / 1.076 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.397, allocations: 378.2 kB / 1.077 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3971, allocations: 112.9 kB / 1.077 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3972, allocations: 4 kB / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3974, allocations: 11.98 kB / 1.077 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3974, allocations: 19.88 kB / 1.077 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3975, allocations: 8 kB / 1.077 GB, free: 48 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002046/0.3977, allocations: 161.1 kB / 1.077 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3977, allocations: 0 / 1.077 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005087/0.3982, allocations: 68 kB / 1.077 GB, free: 15.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.3984, allocations: 127 kB / 1.077 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.3989, allocations: 276.9 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.399, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.827e-05/0.3991, allocations: 64.33 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.3995, allocations: 29.86 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/0.4004, allocations: 483 kB / 1.078 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.4009, allocations: 0.7324 MB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.4011, allocations: 81.5 kB / 1.079 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.4012, allocations: 19.42 kB / 1.079 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.4012, allocations: 4 kB / 1.079 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.005531/0.4067, allocations: 1.876 MB / 1.081 GB, free: 12.09 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches