Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 99.8 kB / 19.71 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 216.2 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 66.66 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4032, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004634/0.4079, allocations: 2.643 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.4108, allocations: 1.551 MB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.4109, allocations: 7.938 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.4116, allocations: 171.3 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.4121, allocations: 163.3 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.4126, allocations: 183.5 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.4129, allocations: 223.4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.4132, allocations: 105.1 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.4134, allocations: 111.5 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.4136, allocations: 119.6 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.4137, allocations: 12 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.414, allocations: 195.6 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.4141, allocations: 67.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.4142, allocations: 71.66 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.4147, allocations: 307 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4147, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4147, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.4147, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 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.0008349/0.4155, allocations: 417.5 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4156, allocations: 15.97 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007924/0.4163, allocations: 84.73 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4167, allocations: 182.2 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4167, allocations: 12.66 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.4167, allocations: 12.38 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.4173, allocations: 329.3 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.4173, allocations: 0 / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.4173, allocations: 8 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.4174, allocations: 20.22 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.4178, allocations: 220.4 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.42, allocations: 1.291 MB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.4203, allocations: 157.1 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.4204, allocations: 65.73 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4205, allocations: 0 / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4205, allocations: 38.56 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.4205, allocations: 3.938 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000624/0.4211, allocations: 245 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.4212, allocations: 85.05 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.4215, allocations: 206.8 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4215, allocations: 33.7 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4216, allocations: 156.1 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.4216, allocations: 43.62 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.4217, allocations: 49.69 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4219, allocations: 322.8 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.4221, allocations: 84.81 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.4223, allocations: 168.7 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.4227, allocations: 246.9 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4227, allocations: 0 / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005459/0.4232, allocations: 285.4 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4233, allocations: 11.94 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4233, allocations: 4 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.4233, allocations: 7.984 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.4236, allocations: 59.89 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.4236, allocations: 11.88 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.4239, allocations: 23.97 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.4239, allocations: 12.16 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002442/0.4242, allocations: 176.1 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002183/0.4244, allocations: 157.2 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003325/0.4247, allocations: 226.9 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.4247, allocations: 4 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004923/0.4252, allocations: 261.2 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4252, allocations: 8 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.4252, allocations: 0 / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.792e-06/0.4252, allocations: 8 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.4255, allocations: 51.89 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4255, allocations: 15.92 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.4258, allocations: 24.23 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.4258, allocations: 8 kB / 1.338 GB, free: 4.922 MB / 1.029 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.0001493/0.426, allocations: 196.1 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.426, allocations: 15.91 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.4263, allocations: 143 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4263, allocations: 0 / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4263, allocations: 0 / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.4264, allocations: 39.84 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.4264, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.4267, allocations: 19.97 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.4267, allocations: 7.984 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000323/0.427, allocations: 296.1 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003428/0.4273, allocations: 393.8 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.25e-05/0.4274, allocations: 48.58 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001928/0.4276, allocations: 152.3 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/0.4276, allocations: 0 / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.4288, allocations: 411.7 kB / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009454/0.4298, allocations: 0.7854 MB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of Templates: time 0.009035/0.4388, allocations: 4.516 MB / 1.345 GB, free: 13.88 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.095803595002508]