Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001105/0.001105, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 472.6 MB / 0.7451 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 78.72 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3903, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005183/0.3955, allocations: 2.616 MB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002808/0.3983, allocations: 1.589 MB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.3985, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.3993, allocations: 179.3 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.3999, allocations: 151.3 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.4004, allocations: 179.5 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.4008, allocations: 223.3 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.4011, allocations: 113 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.4014, allocations: 87.7 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.4017, allocations: 103.6 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.4017, allocations: 16 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.4022, allocations: 215.6 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.4023, allocations: 67.8 kB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.4024, allocations: 75.61 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.4029, allocations: 307.4 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4029, allocations: 3.938 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.403, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.403, allocations: 0 / 1.074 GB, free: 4.434 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.000796/0.4038, allocations: 479.1 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4038, allocations: 12.03 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/0.4046, allocations: 84.64 kB / 1.075 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4049, allocations: 225.9 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4049, allocations: 8.656 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.405, allocations: 20.34 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.4055, allocations: 291.6 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4056, allocations: 0 / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.4056, allocations: 8 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.4057, allocations: 24.16 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.4061, allocations: 224.4 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.4081, allocations: 1.599 MB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.4085, allocations: 315.3 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.559e-05/0.4086, allocations: 65.67 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.4087, allocations: 0 / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.4087, allocations: 42.66 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.4087, allocations: 0 / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005641/0.4093, allocations: 244.5 kB / 1.078 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4093, allocations: 77.11 kB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.4096, allocations: 215.3 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4096, allocations: 25.89 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4097, allocations: 151.7 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.4098, allocations: 47.44 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.4099, allocations: 45.69 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.41, allocations: 326.8 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.4102, allocations: 76.81 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.4104, allocations: 168.7 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.4108, allocations: 230.9 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4108, allocations: 0 / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005056/0.4113, allocations: 277.2 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4113, allocations: 9.562 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4114, allocations: 4 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4114, allocations: 7.938 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.4116, allocations: 55.89 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4117, allocations: 8.469 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.4119, allocations: 20.12 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.412, allocations: 20 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002026/0.4122, allocations: 164.1 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001925/0.4124, allocations: 165.6 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002813/0.4127, allocations: 219.7 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.4127, allocations: 4 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004507/0.4131, allocations: 245.2 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4132, allocations: 8.406 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.4132, allocations: 8 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.4132, allocations: 11.97 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.4134, allocations: 47.95 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4134, allocations: 15.88 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.4136, allocations: 16.11 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.4137, allocations: 16 kB / 1.08 GB, free: 13.64 MB / 0.8419 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.0001209/0.4138, allocations: 188.2 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.4139, allocations: 19.81 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4141, allocations: 147 kB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4141, allocations: 3.938 kB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4141, allocations: 7.938 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4141, allocations: 0 / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000958/0.4151, allocations: 0.7273 MB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4151, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.4152, allocations: 23.98 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.4152, allocations: 4 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4153, allocations: 4.344 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.4153, allocations: 15.92 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4153, allocations: 0 / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.4157, allocations: 378.5 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.4158, allocations: 104.9 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.4158, allocations: 7.984 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.416, allocations: 15.98 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.416, allocations: 11.94 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4161, allocations: 4 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001758/0.4162, allocations: 165.1 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.154e-06/0.4162, allocations: 0 / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005316/0.4168, allocations: 75.94 kB / 1.082 GB, free: 11.59 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.0001538/0.4169, allocations: 107.7 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.4175, allocations: 284.7 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4175, allocations: 384 / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.4176, allocations: 67.84 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.4181, allocations: 34.08 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.4188, allocations: 415.2 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.4191, allocations: 0.7323 MB / 1.083 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.4194, allocations: 77.47 kB / 1.084 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.4194, allocations: 23.42 kB / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4194, allocations: 0 / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of Templates: time 0.005218/0.4247, allocations: 1.896 MB / 1.085 GB, free: 7.941 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches