Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.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_10_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_10_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.001924/0.001925, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002881/0.002881, allocations: 199.2 kB / 16.26 MB, free: 6.625 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.88 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6625, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007039/0.6696, allocations: 4.865 MB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003894/0.6735, allocations: 2.444 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.6738, allocations: 23.81 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.6749, allocations: 370.4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008706/0.6758, allocations: 410 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.6766, allocations: 334.9 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000957/0.6775, allocations: 0.925 MB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000602/0.6781, allocations: 386.5 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.6786, allocations: 334.6 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.679, allocations: 370.4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.6791, allocations: 36 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.6797, allocations: 407.1 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.6799, allocations: 179.5 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.6802, allocations: 318.2 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009518/0.6811, allocations: 0.9012 MB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6811, allocations: 0 / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6811, allocations: 0 / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.6812, allocations: 0 / 1.029 GB, free: 6.398 MB / 0.7794 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.001393/0.6826, allocations: 0.9424 MB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6826, allocations: 8.031 kB / 1.03 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.6838, allocations: 211.7 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.6845, allocations: 490.4 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.6845, allocations: 33.38 kB / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/0.6846, allocations: 44.36 kB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6858, allocations: 0.8487 MB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.6858, allocations: 11.92 kB / 1.031 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.6859, allocations: 23.98 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.797e-05/0.686, allocations: 60.97 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.6869, allocations: 0.5733 MB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004763/0.6916, allocations: 5.65 MB / 1.037 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.6923, allocations: 472.1 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.6926, allocations: 229.8 kB / 1.038 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.6927, allocations: 3.984 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.6927, allocations: 34.56 kB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.6927, allocations: 0 / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002624/0.6953, allocations: 1.499 MB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.6954, allocations: 59.69 kB / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.696, allocations: 0.491 MB / 1.04 GB, free: 9.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.696, allocations: 29.7 kB / 1.04 GB, free: 9.934 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.6963, allocations: 358.8 kB / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6964, allocations: 118.4 kB / 1.041 GB, free: 9.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.6966, allocations: 110.1 kB / 1.041 GB, free: 9.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.6968, allocations: 362.8 kB / 1.041 GB, free: 8.984 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.6971, allocations: 193.2 kB / 1.041 GB, free: 8.793 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.6976, allocations: 451.3 kB / 1.042 GB, free: 8.238 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.6985, allocations: 0.6915 MB / 1.042 GB, free: 7.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6985, allocations: 4 kB / 1.042 GB, free: 7.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001268/0.6997, allocations: 0.8013 MB / 1.043 GB, free: 6.602 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6998, allocations: 12 kB / 1.043 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.6998, allocations: 8 kB / 1.043 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/0.7003, allocations: 160.7 kB / 1.043 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.7008, allocations: 123.8 kB / 1.043 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.7044, allocations: 4.344 MB / 1.048 GB, free: 1.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.7048, allocations: 36.12 kB / 1.048 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.7049, allocations: 31.98 kB / 1.048 GB, free: 1.461 MB / 0.795 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.0002925/0.7052, allocations: 218.2 kB / 1.048 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.7053, allocations: 59.25 kB / 1.048 GB, free: 1.18 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.7064, allocations: 0.6048 MB / 1.049 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7064, allocations: 7.938 kB / 1.049 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.7064, allocations: 0 / 1.049 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7064, allocations: 3.984 kB / 1.049 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.7083, allocations: 1.255 MB / 1.05 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.7083, allocations: 0 / 1.05 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.7085, allocations: 51.95 kB / 1.05 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/0.709, allocations: 148.3 kB / 1.05 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.709, allocations: 11.94 kB / 1.05 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/0.7128, allocations: 4.345 MB / 1.054 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.7128, allocations: 4.031 kB / 1.054 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.7139, allocations: 0.7044 MB / 1.055 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.7142, allocations: 168.3 kB / 1.055 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.7143, allocations: 8 kB / 1.055 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.7145, allocations: 23.97 kB / 1.055 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.7146, allocations: 35.89 kB / 1.055 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.7146, allocations: 16 kB / 1.055 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004199/0.7151, allocations: 330.8 kB / 1.056 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7151, allocations: 0 / 1.056 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006486/0.7157, allocations: 140 kB / 1.056 GB, free: 8.727 MB / 0.8106 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.0001901/0.7159, allocations: 113.6 kB / 1.056 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.7176, allocations: 1.076 MB / 1.057 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7176, allocations: 0 / 1.057 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009309/0.7185, allocations: 0.7353 MB / 1.058 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/0.7195, allocations: 210.7 kB / 1.058 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.7214, allocations: 1.257 MB / 1.059 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.722, allocations: 0.9019 MB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003518/0.7224, allocations: 121.2 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.7225, allocations: 39.44 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.7225, allocations: 0 / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of Templates: time 0.02365/0.7462, allocations: 7.658 MB / 1.067 GB, free: 12.46 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches