Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 191.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 443.5 MB / 0.732 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 64.14 kB / 1.061 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 160.7 MB / 1.218 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006576/1.093, allocations: 3.861 MB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003722/1.097, allocations: 1.845 MB / 1.224 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/1.097, allocations: 17.66 kB / 1.224 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/1.098, allocations: 275.1 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000841/1.099, allocations: 306.7 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/1.099, allocations: 250.5 kB / 1.225 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008441/1.1, allocations: 0.6076 MB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/1.101, allocations: 197.7 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/1.101, allocations: 240.2 kB / 1.226 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/1.102, allocations: 244.2 kB / 1.226 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/1.102, allocations: 26.47 kB / 1.226 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/1.102, allocations: 284 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/1.102, allocations: 123.3 kB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/1.103, allocations: 212.5 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000869/1.103, allocations: 0.5983 MB / 1.227 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.103, allocations: 0 / 1.227 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.885e-06/1.103, allocations: 0 / 1.227 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.103, allocations: 0 / 1.227 GB, free: 13.42 MB / 0.9356 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.001563/1.105, allocations: 0.7474 MB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.105, allocations: 10 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/1.106, allocations: 138.2 kB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/1.107, allocations: 413.9 kB / 1.228 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/1.107, allocations: 21.12 kB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/1.107, allocations: 35.58 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/1.108, allocations: 0.5488 MB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.108, allocations: 5.391 kB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/1.108, allocations: 17.19 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.53e-05/1.108, allocations: 45.03 kB / 1.229 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/1.109, allocations: 413 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003561/1.112, allocations: 3.337 MB / 1.233 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/1.113, allocations: 311.9 kB / 1.233 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/1.113, allocations: 156.8 kB / 1.233 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/1.113, allocations: 4 kB / 1.233 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.113, allocations: 38.56 kB / 1.233 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/1.113, allocations: 0 / 1.233 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.002343/1.116, allocations: 1.065 MB / 1.234 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/1.116, allocations: 59.58 kB / 1.234 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/1.116, allocations: 345.5 kB / 1.235 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/1.116, allocations: 29.7 kB / 1.235 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/1.116, allocations: 256 kB / 1.235 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/1.116, allocations: 99.16 kB / 1.235 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.117, allocations: 82.08 kB / 1.235 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.117, allocations: 346.8 kB / 1.235 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/1.117, allocations: 148.8 kB / 1.235 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/1.117, allocations: 286.5 kB / 1.236 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/1.118, allocations: 486.2 kB / 1.236 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.118, allocations: 0 / 1.236 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001104/1.119, allocations: 0.562 MB / 1.237 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.119, allocations: 10.34 kB / 1.237 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.119, allocations: 4 kB / 1.237 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/1.12, allocations: 95.05 kB / 1.237 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/1.12, allocations: 87.88 kB / 1.237 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.12, allocations: 11.94 kB / 1.237 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/1.12, allocations: 31.91 kB / 1.237 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/1.12, allocations: 16 kB / 1.237 GB, free: 3.621 MB / 0.9356 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.000234/1.121, allocations: 183.2 kB / 1.237 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/1.121, allocations: 39.77 kB / 1.237 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/1.122, allocations: 464.2 kB / 1.238 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.122, allocations: 0 / 1.238 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.122, allocations: 8 kB / 1.238 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.122, allocations: 0 / 1.238 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/1.123, allocations: 0.9622 MB / 1.239 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.123, allocations: 4 kB / 1.239 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/1.124, allocations: 51.89 kB / 1.239 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/1.124, allocations: 86.55 kB / 1.239 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.124, allocations: 4 kB / 1.239 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.124, allocations: 0 / 1.239 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.124, allocations: 4 kB / 1.239 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/1.125, allocations: 0.5431 MB / 1.239 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/1.125, allocations: 144.7 kB / 1.239 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/1.125, allocations: 8 kB / 1.239 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/1.125, allocations: 19.97 kB / 1.239 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/1.125, allocations: 31.84 kB / 1.239 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/1.125, allocations: 8 kB / 1.239 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002478/1.126, allocations: 235.2 kB / 1.24 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.126, allocations: 0 / 1.24 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004225/1.126, allocations: 88 kB / 1.24 GB, free: 0.6094 MB / 0.9356 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.0001475/1.126, allocations: 107.2 kB / 1.24 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009933/1.127, allocations: 0.6107 MB / 1.24 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.127, allocations: 0 / 1.24 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000542/1.128, allocations: 423.1 kB / 1.241 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/1.129, allocations: 126 kB / 1.241 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/1.13, allocations: 0.7378 MB / 1.242 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/1.13, allocations: 0.8234 MB / 1.243 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002196/1.13, allocations: 79.34 kB / 1.243 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/1.13, allocations: 31.44 kB / 1.243 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/1.13, allocations: 0 / 1.243 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.01076/1.141, allocations: 4.886 MB / 1.247 GB, free: 8.664 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.289354484062642]