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.002194/0.002194, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.003459/0.003459, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.631/1.631, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.997/2.997, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.002247/0.002247, allocations: 71.89 kB / 1.15 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 176.1 MB / 1.322 GB, free: 7.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006376/1.127, allocations: 3.798 MB / 1.326 GB, free: 4.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003804/1.131, allocations: 1.846 MB / 1.327 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/1.132, allocations: 25.44 kB / 1.327 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009869/1.133, allocations: 272.5 kB / 1.328 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009185/1.134, allocations: 305.8 kB / 1.328 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/1.134, allocations: 257.8 kB / 1.328 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009662/1.135, allocations: 0.6032 MB / 1.329 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/1.136, allocations: 217.5 kB / 1.329 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/1.136, allocations: 242.7 kB / 1.329 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/1.137, allocations: 244.2 kB / 1.33 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/1.137, allocations: 25.91 kB / 1.33 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005853/1.137, allocations: 285.6 kB / 1.33 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/1.137, allocations: 125.9 kB / 1.33 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/1.138, allocations: 212.7 kB / 1.33 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009498/1.139, allocations: 0.5936 MB / 1.331 GB, free: 1.301 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.139, allocations: 0 / 1.331 GB, free: 1.301 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.224e-06/1.139, allocations: 1.656 kB / 1.331 GB, free: 1.301 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.139, allocations: 0 / 1.331 GB, free: 1.301 MB / 1.014 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.001479/1.14, allocations: 0.7564 MB / 1.331 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.14, allocations: 13.58 kB / 1.331 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/1.141, allocations: 133.2 kB / 1.332 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/1.142, allocations: 418.5 kB / 1.332 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/1.142, allocations: 25.39 kB / 1.332 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/1.142, allocations: 27.62 kB / 1.332 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/1.143, allocations: 0.5483 MB / 1.333 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/1.143, allocations: 5.312 kB / 1.333 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/1.143, allocations: 17.89 kB / 1.333 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.55e-05/1.143, allocations: 44.88 kB / 1.333 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/1.144, allocations: 409.8 kB / 1.333 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/1.147, allocations: 3.341 MB / 1.336 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/1.148, allocations: 311 kB / 1.337 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/1.148, allocations: 160.9 kB / 1.337 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/1.148, allocations: 7.297 kB / 1.337 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.149, allocations: 43.62 kB / 1.337 GB, free: 12.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.534e-06/1.149, allocations: 0.9375 kB / 1.337 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.003187/1.152, allocations: 1.061 MB / 1.338 GB, free: 11.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.152, allocations: 53.92 kB / 1.338 GB, free: 11.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/1.152, allocations: 340.5 kB / 1.338 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/1.152, allocations: 29.7 kB / 1.338 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/1.153, allocations: 254.7 kB / 1.339 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/1.153, allocations: 96.55 kB / 1.339 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.153, allocations: 86.3 kB / 1.339 GB, free: 10.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002059/1.153, allocations: 348.2 kB / 1.339 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.153, allocations: 142.2 kB / 1.339 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/1.154, allocations: 291.1 kB / 1.339 GB, free: 9.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/1.154, allocations: 483.8 kB / 1.34 GB, free: 9.582 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.154, allocations: 1.219 kB / 1.34 GB, free: 9.582 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001201/1.156, allocations: 0.5639 MB / 1.34 GB, free: 9.266 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/1.156, allocations: 9.219 kB / 1.34 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.156, allocations: 4.531 kB / 1.34 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/1.156, allocations: 94.78 kB / 1.341 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/1.156, allocations: 87.53 kB / 1.341 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/1.156, allocations: 11.94 kB / 1.341 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/1.157, allocations: 33.44 kB / 1.341 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/1.157, allocations: 18.44 kB / 1.341 GB, free: 9.152 MB / 1.029 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.0002446/1.157, allocations: 175.8 kB / 1.341 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/1.157, allocations: 43.06 kB / 1.341 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/1.158, allocations: 461.9 kB / 1.341 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.158, allocations: 3.281 kB / 1.341 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.158, allocations: 1.25 kB / 1.341 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.158, allocations: 0 / 1.341 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/1.16, allocations: 0.967 MB / 1.342 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.16, allocations: 1.062 kB / 1.342 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/1.16, allocations: 47.64 kB / 1.342 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/1.161, allocations: 89.36 kB / 1.342 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.161, allocations: 5.906 kB / 1.342 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.161, allocations: 1.969 kB / 1.342 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.161, allocations: 1.125 kB / 1.342 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/1.162, allocations: 0.5517 MB / 1.343 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.162, allocations: 138.2 kB / 1.343 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/1.162, allocations: 6.703 kB / 1.343 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/1.162, allocations: 18.14 kB / 1.343 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/1.162, allocations: 34.2 kB / 1.343 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/1.162, allocations: 9.969 kB / 1.343 GB, free: 7.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002848/1.162, allocations: 233.8 kB / 1.343 GB, free: 7.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.162, allocations: 0.875 kB / 1.343 GB, free: 7.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004787/1.163, allocations: 84.28 kB / 1.343 GB, free: 7.168 MB / 1.029 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.000218/1.163, allocations: 109.9 kB / 1.344 GB, free: 7.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.164, allocations: 0.6057 MB / 1.344 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.164, allocations: 2.344 kB / 1.344 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/1.165, allocations: 430.8 kB / 1.345 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/1.165, allocations: 128.1 kB / 1.345 GB, free: 6.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/1.167, allocations: 0.7786 MB / 1.345 GB, free: 5.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/1.167, allocations: 0.8257 MB / 1.346 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.167, allocations: 35.31 kB / 1.346 GB, free: 4.828 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.167, allocations: 0 / 1.346 GB, free: 4.828 MB / 1.029 GB Notification: Performance of Templates: time 0.01507/1.182, allocations: 9.482 MB / 1.356 GB, free: 15.83 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.924297698991722]