Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001581/0.001581, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001841/0.001841, allocations: 216.9 kB / 23.01 MB, free: 4.602 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.373/3.373, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [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.002048/0.002048, allocations: 67.38 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4018, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006855/0.4087, allocations: 5.011 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00446/0.4131, allocations: 2.576 MB / 1.335 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.4136, allocations: 31.62 kB / 1.335 GB, free: 9.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.4149, allocations: 417.9 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.416, allocations: 465.6 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.4169, allocations: 383 kB / 1.336 GB, free: 8.555 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.418, allocations: 0.9178 MB / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.4185, allocations: 322.3 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.4191, allocations: 350.7 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.4196, allocations: 370.4 kB / 1.338 GB, free: 6.602 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.4197, allocations: 43.94 kB / 1.338 GB, free: 6.559 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.4205, allocations: 411.1 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.4207, allocations: 179.4 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.421, allocations: 322.2 kB / 1.339 GB, free: 5.664 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.4221, allocations: 0.8832 MB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4221, allocations: 0 / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4221, allocations: 0 / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.4221, allocations: 0 / 1.339 GB, free: 4.777 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001494/0.4236, allocations: 0.8935 MB / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4237, allocations: 12.03 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.4249, allocations: 204.2 kB / 1.341 GB, free: 3.637 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.4257, allocations: 480.8 kB / 1.341 GB, free: 3.145 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.4258, allocations: 33.36 kB / 1.341 GB, free: 3.113 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.4258, allocations: 48.31 kB / 1.341 GB, free: 3.066 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.427, allocations: 0.8525 MB / 1.342 GB, free: 2.078 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.427, allocations: 7.938 kB / 1.342 GB, free: 2.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.4271, allocations: 23.94 kB / 1.342 GB, free: 2.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.895e-05/0.4272, allocations: 64.95 kB / 1.342 GB, free: 1.984 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/0.428, allocations: 0.5656 MB / 1.343 GB, free: 1.418 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.4329, allocations: 5.57 MB / 1.348 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.4335, allocations: 426.8 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.4338, allocations: 204.7 kB / 1.349 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.4339, allocations: 15.92 kB / 1.349 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4339, allocations: 30.56 kB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.4339, allocations: 0 / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002448/0.4364, allocations: 1.132 MB / 1.35 GB, free: 9.629 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4364, allocations: 55.69 kB / 1.35 GB, free: 9.562 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.437, allocations: 0.4989 MB / 1.35 GB, free: 9.055 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.437, allocations: 29.7 kB / 1.35 GB, free: 9.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.4373, allocations: 363.8 kB / 1.351 GB, free: 8.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4374, allocations: 123 kB / 1.351 GB, free: 8.539 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.4375, allocations: 114.2 kB / 1.351 GB, free: 8.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4377, allocations: 362.8 kB / 1.351 GB, free: 8.059 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.438, allocations: 197.2 kB / 1.351 GB, free: 7.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.4385, allocations: 451.9 kB / 1.352 GB, free: 7.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.4394, allocations: 0.6915 MB / 1.353 GB, free: 6.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4394, allocations: 0 / 1.353 GB, free: 6.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001339/0.4407, allocations: 0.8061 MB / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.4408, allocations: 11.98 kB / 1.353 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.4408, allocations: 8 kB / 1.353 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.4413, allocations: 148.1 kB / 1.353 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.4417, allocations: 127.9 kB / 1.354 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.4453, allocations: 4.042 MB / 1.358 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.4458, allocations: 39.97 kB / 1.358 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.4458, allocations: 28 kB / 1.358 GB, free: 0.9141 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0002946/0.4461, allocations: 213.6 kB / 1.358 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.4462, allocations: 59.62 kB / 1.358 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4472, allocations: 0.597 MB / 1.358 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4472, allocations: 4 kB / 1.358 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4472, allocations: 4 kB / 1.358 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4472, allocations: 3.984 kB / 1.358 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.4491, allocations: 1.23 MB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.4491, allocations: 12.22 kB / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.4494, allocations: 51.89 kB / 1.36 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.4498, allocations: 144.1 kB / 1.36 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4498, allocations: 11.94 kB / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.4532, allocations: 4.037 MB / 1.364 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4532, allocations: 4.031 kB / 1.364 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4543, allocations: 0.712 MB / 1.364 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.4545, allocations: 91.58 kB / 1.365 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.4546, allocations: 12 kB / 1.365 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.4548, allocations: 23.97 kB / 1.365 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.4549, allocations: 35.83 kB / 1.365 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.4549, allocations: 12 kB / 1.365 GB, free: 9.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003791/0.4553, allocations: 334.8 kB / 1.365 GB, free: 8.809 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4553, allocations: 0 / 1.365 GB, free: 8.809 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006529/0.456, allocations: 140 kB / 1.365 GB, free: 8.672 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001557/0.4561, allocations: 115.2 kB / 1.365 GB, free: 8.547 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.4575, allocations: 0.855 MB / 1.366 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4575, allocations: 3.938 kB / 1.366 GB, free: 7.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.4583, allocations: 0.5725 MB / 1.367 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/0.4593, allocations: 193.2 kB / 1.367 GB, free: 6.848 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.461, allocations: 1.113 MB / 1.368 GB, free: 5.676 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.4615, allocations: 0.9019 MB / 1.369 GB, free: 4.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4616, allocations: 43.44 kB / 1.369 GB, free: 4.703 MB / 1.061 GB Notification: Performance of SimCode: time 7.91e-07/0.4616, allocations: 4 kB / 1.369 GB, free: 4.699 MB / 1.061 GB Notification: Performance of Templates: time 0.0226/0.4842, allocations: 18.07 MB / 1.386 GB, free: 2.668 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 15.268460182007402]