Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 113.3 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 185.5 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8854, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00577/0.8912, allocations: 4.854 MB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00396/0.8952, allocations: 2.455 MB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.8956, allocations: 23.16 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.8969, allocations: 399.1 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.8981, allocations: 469.9 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.8991, allocations: 375.9 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.9006, allocations: 0.9196 MB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006909/0.9013, allocations: 345 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007495/0.9021, allocations: 343.2 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.9027, allocations: 355.5 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.9028, allocations: 37.62 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009802/0.9038, allocations: 402 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.9041, allocations: 176.5 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.9044, allocations: 321.5 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.9059, allocations: 0.8816 MB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9059, allocations: 0 / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9059, allocations: 0.5312 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.906, allocations: 1.406 kB / 1.101 GB, free: 14.18 MB / 0.8731 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.001696/0.9077, allocations: 0.9439 MB / 1.102 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.9077, allocations: 10.56 kB / 1.102 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.9091, allocations: 201.6 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.9101, allocations: 0.5332 MB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.9102, allocations: 36.52 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.9103, allocations: 45.44 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.9116, allocations: 0.8484 MB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.9116, allocations: 11.09 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.9117, allocations: 20.38 kB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.9119, allocations: 65.91 kB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.913, allocations: 0.5717 MB / 1.104 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005181/0.9182, allocations: 5.639 MB / 1.109 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.9189, allocations: 457.7 kB / 1.11 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.9193, allocations: 228.4 kB / 1.11 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.9193, allocations: 3.219 kB / 1.11 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.9194, allocations: 37.42 kB / 1.11 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.9194, allocations: 3.938 kB / 1.11 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002778/0.9222, allocations: 1.504 MB / 1.111 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.9222, allocations: 55.75 kB / 1.112 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.9229, allocations: 0.4935 MB / 1.112 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.9229, allocations: 35.88 kB / 1.112 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.9231, allocations: 351 kB / 1.112 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.9233, allocations: 118.7 kB / 1.112 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.9234, allocations: 110.6 kB / 1.113 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.9236, allocations: 365.5 kB / 1.113 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.9239, allocations: 196 kB / 1.113 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.9244, allocations: 451.8 kB / 1.114 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.9253, allocations: 0.6879 MB / 1.114 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.9253, allocations: 2.781 kB / 1.114 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001408/0.9267, allocations: 0.812 MB / 1.115 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.9268, allocations: 9.406 kB / 1.115 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.9268, allocations: 8.812 kB / 1.115 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.9273, allocations: 156.4 kB / 1.115 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.9279, allocations: 125.4 kB / 1.115 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.9316, allocations: 4.346 MB / 1.12 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.9322, allocations: 33.44 kB / 1.12 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.9322, allocations: 28.62 kB / 1.12 GB, free: 15.02 MB / 0.8887 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.0003331/0.9325, allocations: 218.5 kB / 1.12 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.9326, allocations: 58.92 kB / 1.12 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.9338, allocations: 0.5982 MB / 1.12 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.9338, allocations: 2.438 kB / 1.12 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9338, allocations: 3.312 kB / 1.12 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.9338, allocations: 5.5 kB / 1.12 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.9358, allocations: 1.263 MB / 1.122 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9358, allocations: 1.156 kB / 1.122 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.9361, allocations: 55.67 kB / 1.122 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.9366, allocations: 137.6 kB / 1.122 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.9366, allocations: 12.94 kB / 1.122 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.94, allocations: 4.336 MB / 1.126 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.94, allocations: 2.5 kB / 1.126 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.9411, allocations: 0.7192 MB / 1.127 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.9414, allocations: 169.4 kB / 1.127 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.9415, allocations: 8 kB / 1.127 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.9417, allocations: 26.45 kB / 1.127 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.9418, allocations: 35.53 kB / 1.127 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.9418, allocations: 8.969 kB / 1.127 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004334/0.9423, allocations: 333.5 kB / 1.127 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9423, allocations: 0 / 1.127 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007322/0.943, allocations: 147 kB / 1.128 GB, free: 8.703 MB / 0.8887 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.0001588/0.9432, allocations: 112.5 kB / 1.128 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.9447, allocations: 1.033 MB / 1.129 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9447, allocations: 0 / 1.129 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008359/0.9455, allocations: 0.7351 MB / 1.129 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.9465, allocations: 205.2 kB / 1.13 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.9483, allocations: 1.073 MB / 1.131 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.9488, allocations: 0.9061 MB / 1.132 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.949, allocations: 42.52 kB / 1.132 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of SimCode: time 1.553e-06/0.949, allocations: 1.312 kB / 1.132 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of Templates: time 0.02526/0.9742, allocations: 18.05 MB / 1.149 GB, free: 0.8633 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches