Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001693/0.001693, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.002092/0.002092, allocations: 218.5 kB / 22.26 MB, free: 5.125 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.988 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.208/3.208, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [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.002083/0.002083, allocations: 67.53 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007123/0.3685, allocations: 4.436 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004556/0.373, allocations: 2.498 MB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.3735, allocations: 23.75 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.3749, allocations: 390.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.3761, allocations: 382.2 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.377, allocations: 331.1 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009205/0.3779, allocations: 0.6791 MB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.3783, allocations: 230.1 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.3788, allocations: 267 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.3793, allocations: 286.8 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.3793, allocations: 28 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008431/0.3802, allocations: 443 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.3804, allocations: 151.5 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.3806, allocations: 238.8 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009758/0.3816, allocations: 0.7354 MB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3816, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3816, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.3816, allocations: 0 / 1.337 GB, free: 6.309 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00129/0.3829, allocations: 0.7238 MB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3829, allocations: 15.97 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3842, allocations: 188.4 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.385, allocations: 373.5 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.385, allocations: 29.36 kB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.3851, allocations: 32.38 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009902/0.3861, allocations: 0.6549 MB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3861, allocations: 4 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.3861, allocations: 23.92 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.805e-05/0.3862, allocations: 51.97 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.387, allocations: 0.4915 MB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003627/0.3906, allocations: 3.748 MB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.3924, allocations: 0.6087 MB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.3926, allocations: 158.5 kB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.3927, allocations: 11.94 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3927, allocations: 34.56 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 3.216e-06/0.3927, allocations: 0 / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002265/0.395, allocations: 1.068 MB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.395, allocations: 110.8 kB / 1.345 GB, free: 13.51 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.3955, allocations: 401.8 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3955, allocations: 30.27 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.3957, allocations: 288.2 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3958, allocations: 123 kB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.396, allocations: 106.3 kB / 1.346 GB, free: 12.55 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3961, allocations: 350.8 kB / 1.346 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3964, allocations: 173.2 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.3968, allocations: 384.1 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.3976, allocations: 0.5913 MB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3976, allocations: 7.875 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001098/0.3987, allocations: 0.6718 MB / 1.348 GB, free: 10.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3987, allocations: 11.98 kB / 1.348 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3987, allocations: 8 kB / 1.348 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.3991, allocations: 102.4 kB / 1.348 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.3994, allocations: 111.8 kB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.403, allocations: 4.038 MB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.4034, allocations: 27.97 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.4034, allocations: 28.16 kB / 1.352 GB, free: 5.516 MB / 1.045 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.0002905/0.4037, allocations: 198.1 kB / 1.353 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4038, allocations: 47.72 kB / 1.353 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.4048, allocations: 0.5146 MB / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4048, allocations: 8 kB / 1.353 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4048, allocations: 4 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4048, allocations: 0 / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.4067, allocations: 1.259 MB / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4067, allocations: 0 / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.407, allocations: 59.91 kB / 1.355 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.4072, allocations: 94.78 kB / 1.355 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.4073, allocations: 8 kB / 1.355 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.4107, allocations: 4.037 MB / 1.359 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4107, allocations: 4 kB / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.4117, allocations: 0.7897 MB / 1.359 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.4119, allocations: 79.62 kB / 1.359 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.412, allocations: 8 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.4123, allocations: 23.97 kB / 1.359 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.4123, allocations: 39.83 kB / 1.359 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.4124, allocations: 12 kB / 1.359 GB, free: 13.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003247/0.4127, allocations: 287.1 kB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4127, allocations: 0 / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006874/0.4134, allocations: 120 kB / 1.36 GB, free: 13.42 MB / 1.061 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.0001531/0.4135, allocations: 107.1 kB / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.4148, allocations: 0.7742 MB / 1.361 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4148, allocations: 4.312 kB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.4156, allocations: 0.5427 MB / 1.361 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008803/0.4165, allocations: 136.8 kB / 1.361 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.418, allocations: 0.9205 MB / 1.362 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.4186, allocations: 0.8586 MB / 1.363 GB, free: 9.902 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.4188, allocations: 112.5 kB / 1.363 GB, free: 9.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.345e-05/0.4189, allocations: 35.44 kB / 1.363 GB, free: 9.758 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4189, allocations: 0 / 1.363 GB, free: 9.758 MB / 1.061 GB Notification: Performance of Templates: time 0.01245/0.4314, allocations: 6.182 MB / 1.369 GB, free: 3.641 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.261771674733609]