Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001859/0.001859, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.002206/0.002206, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.282/3.282, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [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.002159/0.002159, allocations: 72.42 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3951, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005889/0.4009, allocations: 3.806 MB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.4044, allocations: 1.847 MB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.4046, allocations: 23.81 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.4055, allocations: 270.6 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006765/0.4062, allocations: 302.5 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.4068, allocations: 262.3 kB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007048/0.4075, allocations: 0.6049 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.4079, allocations: 210.6 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.4083, allocations: 255 kB / 1.329 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.4087, allocations: 239 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.4087, allocations: 28 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.4092, allocations: 283.4 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.4094, allocations: 119.6 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.4096, allocations: 206.9 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.4104, allocations: 0.5991 MB / 1.33 GB, free: 9.797 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4104, allocations: 3.984 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4104, allocations: 0 / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4104, allocations: 4 kB / 1.33 GB, free: 9.789 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001329/0.4117, allocations: 0.7512 MB / 1.331 GB, free: 8.988 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4117, allocations: 15.98 kB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009095/0.4127, allocations: 132.5 kB / 1.331 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.4133, allocations: 411.9 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.4133, allocations: 25.02 kB / 1.331 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.4134, allocations: 28.31 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009311/0.4143, allocations: 0.5549 MB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4143, allocations: 4 kB / 1.332 GB, free: 7.719 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.4144, allocations: 16 kB / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/0.4144, allocations: 36.55 kB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.4152, allocations: 413.6 kB / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.4186, allocations: 3.342 MB / 1.336 GB, free: 3.668 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.4193, allocations: 318.3 kB / 1.336 GB, free: 3.348 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.4196, allocations: 158.9 kB / 1.336 GB, free: 3.191 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.4196, allocations: 12 kB / 1.336 GB, free: 3.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.4196, allocations: 34.55 kB / 1.336 GB, free: 3.137 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.033e-06/0.4197, allocations: 0 / 1.336 GB, free: 3.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002251/0.4219, allocations: 1.058 MB / 1.337 GB, free: 2.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.422, allocations: 55.64 kB / 1.337 GB, free: 1.941 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.4223, allocations: 341.6 kB / 1.338 GB, free: 1.598 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.4224, allocations: 29.7 kB / 1.338 GB, free: 1.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.4226, allocations: 252.1 kB / 1.338 GB, free: 1.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.4227, allocations: 107 kB / 1.338 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.4228, allocations: 78.09 kB / 1.338 GB, free: 1.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.423, allocations: 342.8 kB / 1.338 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.4233, allocations: 148.8 kB / 1.338 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.4237, allocations: 290.5 kB / 1.339 GB, free: 292 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.4244, allocations: 482.6 kB / 1.339 GB, free: 15.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4244, allocations: 0 / 1.339 GB, free: 15.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001066/0.4255, allocations: 0.5656 MB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4255, allocations: 8.625 kB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4255, allocations: 4 kB / 1.34 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.4258, allocations: 90.45 kB / 1.34 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.4262, allocations: 91.88 kB / 1.34 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.4262, allocations: 11.94 kB / 1.34 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.4265, allocations: 31.91 kB / 1.34 GB, free: 14.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.4265, allocations: 16 kB / 1.34 GB, free: 14.91 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.4267, allocations: 173.8 kB / 1.34 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.4268, allocations: 47.64 kB / 1.34 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/0.4278, allocations: 464.2 kB / 1.341 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4278, allocations: 0 / 1.341 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4278, allocations: 8 kB / 1.341 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.4278, allocations: 3.984 kB / 1.341 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.4293, allocations: 0.9577 MB / 1.342 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4293, allocations: 4 kB / 1.342 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.4296, allocations: 55.98 kB / 1.342 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/0.4298, allocations: 82.5 kB / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4298, allocations: 4 kB / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4298, allocations: 3.938 kB / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4299, allocations: 3.984 kB / 1.342 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.4308, allocations: 0.547 MB / 1.342 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.4309, allocations: 132.8 kB / 1.342 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.431, allocations: 11.94 kB / 1.342 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.4312, allocations: 23.97 kB / 1.342 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.4313, allocations: 35.78 kB / 1.342 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4313, allocations: 4 kB / 1.342 GB, free: 12.21 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002462/0.4315, allocations: 235.2 kB / 1.343 GB, free: 11.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4315, allocations: 0 / 1.343 GB, free: 11.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004349/0.432, allocations: 88 kB / 1.343 GB, free: 11.89 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.4322, allocations: 119.1 kB / 1.343 GB, free: 11.76 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009832/0.4332, allocations: 0.6001 MB / 1.343 GB, free: 11.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4332, allocations: 4 kB / 1.343 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.4336, allocations: 417.8 kB / 1.344 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.4344, allocations: 133.5 kB / 1.344 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4356, allocations: 0.7253 MB / 1.345 GB, free: 9.734 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.4362, allocations: 0.8312 MB / 1.346 GB, free: 8.875 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.4364, allocations: 75.36 kB / 1.346 GB, free: 8.801 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.4365, allocations: 27.44 kB / 1.346 GB, free: 8.773 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.4365, allocations: 0 / 1.346 GB, free: 8.773 MB / 1.045 GB Notification: Performance of Templates: time 0.01044/0.4469, allocations: 4.803 MB / 1.35 GB, free: 4.043 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.345048111863434]