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.001808/0.001808, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00228/0.00228, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.002038/0.002038, allocations: 66.28 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2856, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005525/0.2911, allocations: 3.623 MB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.2945, allocations: 1.766 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.2947, allocations: 19.81 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.2957, allocations: 262.6 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.2964, allocations: 310.5 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.297, allocations: 254.5 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007619/0.2978, allocations: 0.613 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.2982, allocations: 238.4 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.2986, allocations: 251.1 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.2989, allocations: 243 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.299, allocations: 24 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.2994, allocations: 243.4 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.2996, allocations: 127.6 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2997, allocations: 179.1 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.3004, allocations: 0.5953 MB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3005, allocations: 4 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3005, allocations: 3.938 kB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3005, allocations: 0 / 1.336 GB, free: 8.281 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.00124/0.3017, allocations: 0.6774 MB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3017, allocations: 8.031 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/0.3027, allocations: 140.5 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.3033, allocations: 333.4 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3033, allocations: 21.03 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/0.3034, allocations: 32.33 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3044, allocations: 0.6459 MB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3044, allocations: 3.938 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.3044, allocations: 12 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.3045, allocations: 44.62 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.3053, allocations: 406.1 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.3086, allocations: 2.675 MB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.3093, allocations: 322.3 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.3097, allocations: 160.8 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3097, allocations: 4 kB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3097, allocations: 30.56 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 3.026e-06/0.3097, allocations: 0 / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002125/0.3118, allocations: 0.8488 MB / 1.342 GB, free: 1.652 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3119, allocations: 55.64 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.3122, allocations: 333.5 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.3123, allocations: 29.7 kB / 1.342 GB, free: 1.215 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.3125, allocations: 252 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.3125, allocations: 103.1 kB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3127, allocations: 86.03 kB / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3128, allocations: 342.8 kB / 1.343 GB, free: 436 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.3131, allocations: 148.8 kB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.3135, allocations: 295.4 kB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.3143, allocations: 478.6 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3143, allocations: 0 / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00105/0.3153, allocations: 0.5618 MB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3153, allocations: 9.703 kB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3154, allocations: 8 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.3157, allocations: 83.08 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.3161, allocations: 95.81 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3161, allocations: 4 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.3163, allocations: 31.97 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3164, allocations: 23.88 kB / 1.345 GB, free: 14.56 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.0002162/0.3166, allocations: 178.2 kB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.3166, allocations: 39.77 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.3176, allocations: 460.2 kB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3176, allocations: 4 kB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3176, allocations: 8 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3176, allocations: 0 / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.3191, allocations: 0.8411 MB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3191, allocations: 4 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.3194, allocations: 51.89 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.3197, allocations: 86.55 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.3197, allocations: 8 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.3197, allocations: 3.984 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3197, allocations: 7.938 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.3206, allocations: 0.5355 MB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.3207, allocations: 63.73 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.3208, allocations: 3.984 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.321, allocations: 23.98 kB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.3211, allocations: 27.89 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.3211, allocations: 12 kB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002276/0.3214, allocations: 223.2 kB / 1.347 GB, free: 11.89 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3214, allocations: 0 / 1.347 GB, free: 11.89 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004197/0.3218, allocations: 84 kB / 1.347 GB, free: 11.8 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.000147/0.3219, allocations: 111.1 kB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008306/0.3228, allocations: 394 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3228, allocations: 0 / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.3232, allocations: 195.6 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.3239, allocations: 122.6 kB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3251, allocations: 0.7386 MB / 1.349 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.3253, allocations: 220.1 kB / 1.349 GB, free: 9.957 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.3255, allocations: 75.28 kB / 1.349 GB, free: 9.879 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.3256, allocations: 31.44 kB / 1.349 GB, free: 9.848 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3256, allocations: 4 kB / 1.349 GB, free: 9.844 MB / 1.045 GB Notification: Performance of Templates: time 0.01083/0.3364, allocations: 5.43 MB / 1.354 GB, free: 4.562 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 -s gbode -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: 8.393248719992698]