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.001693/0.001693, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002267/0.002267, allocations: 193.4 kB / 16.13 MB, free: 6.703 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.661/2.661, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9078, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006314/0.9141, allocations: 4.873 MB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004144/0.9183, allocations: 2.475 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003756/0.9187, allocations: 19.81 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.92, allocations: 368.4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.921, allocations: 414.1 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.922, allocations: 332.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.9234, allocations: 1.124 MB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000763/0.9241, allocations: 359.2 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.9246, allocations: 298.7 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.9251, allocations: 350.5 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.9252, allocations: 24 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.9261, allocations: 0.4989 MB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.9263, allocations: 167.5 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.9266, allocations: 306.2 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009574/0.9276, allocations: 0.8856 MB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9276, allocations: 0 / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9276, allocations: 0 / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.9277, allocations: 0 / 1.029 GB, free: 6.316 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.001456/0.9291, allocations: 0.9464 MB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9292, allocations: 12.03 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.9304, allocations: 207.7 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.9311, allocations: 490.4 kB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.9312, allocations: 29.38 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.9312, allocations: 44.36 kB / 1.03 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.9324, allocations: 0.8486 MB / 1.031 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.9324, allocations: 7.938 kB / 1.031 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.9325, allocations: 35.91 kB / 1.031 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-05/0.9326, allocations: 60.97 kB / 1.031 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.9334, allocations: 0.5656 MB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004639/0.938, allocations: 5.654 MB / 1.037 GB, free: 12.82 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.9387, allocations: 458.6 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.939, allocations: 225.3 kB / 1.038 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.939, allocations: 7.984 kB / 1.038 GB, free: 12.13 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.9391, allocations: 38.56 kB / 1.038 GB, free: 12.08 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.9391, allocations: 0 / 1.038 GB, free: 12.08 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002585/0.9417, allocations: 1.499 MB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.9417, allocations: 55.69 kB / 1.04 GB, free: 10.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.9422, allocations: 0.4949 MB / 1.04 GB, free: 9.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.9423, allocations: 29.7 kB / 1.04 GB, free: 9.855 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.9425, allocations: 354.8 kB / 1.04 GB, free: 9.504 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.9426, allocations: 110.4 kB / 1.041 GB, free: 9.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.9428, allocations: 114.2 kB / 1.041 GB, free: 9.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.943, allocations: 370.8 kB / 1.041 GB, free: 8.906 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.9432, allocations: 189.2 kB / 1.041 GB, free: 8.719 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.9437, allocations: 447.3 kB / 1.042 GB, free: 8.168 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/0.9445, allocations: 0.6993 MB / 1.042 GB, free: 7.352 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9446, allocations: 4 kB / 1.042 GB, free: 7.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001226/0.9458, allocations: 0.8017 MB / 1.043 GB, free: 6.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.9458, allocations: 10.34 kB / 1.043 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.9458, allocations: 16.16 kB / 1.043 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.9464, allocations: 156 kB / 1.043 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.9468, allocations: 123.8 kB / 1.043 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.9498, allocations: 4.044 MB / 1.047 GB, free: 1.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.9502, allocations: 35.97 kB / 1.047 GB, free: 1.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.9502, allocations: 24 kB / 1.047 GB, free: 1.711 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.0002626/0.9505, allocations: 213.7 kB / 1.048 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.9506, allocations: 63.25 kB / 1.048 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.9516, allocations: 0.5929 MB / 1.048 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.9516, allocations: 4 kB / 1.048 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9516, allocations: 12 kB / 1.048 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.9516, allocations: 11.86 kB / 1.048 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.9533, allocations: 1.251 MB / 1.05 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.9533, allocations: 0 / 1.05 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.9536, allocations: 59.89 kB / 1.05 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003795/0.954, allocations: 140.3 kB / 1.05 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.954, allocations: 16 kB / 1.05 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/0.9568, allocations: 4.028 MB / 1.054 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9568, allocations: 8.031 kB / 1.054 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.9578, allocations: 0.7128 MB / 1.054 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.958, allocations: 164.4 kB / 1.055 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.958, allocations: 11.94 kB / 1.055 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.9583, allocations: 23.97 kB / 1.055 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.9584, allocations: 27.97 kB / 1.055 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.9584, allocations: 8 kB / 1.055 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003283/0.9587, allocations: 342.8 kB / 1.055 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9587, allocations: 0 / 1.055 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006431/0.9594, allocations: 136 kB / 1.055 GB, free: 9.305 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.0001649/0.9595, allocations: 112.8 kB / 1.055 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.9609, allocations: 1.04 MB / 1.056 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.9609, allocations: 4 kB / 1.056 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.9616, allocations: 0.7276 MB / 1.057 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.9626, allocations: 194.8 kB / 1.057 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.9642, allocations: 1.253 MB / 1.058 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.9647, allocations: 0.9097 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.9651, allocations: 117.3 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.9652, allocations: 43.42 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.9652, allocations: 0 / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of Templates: time 0.0124/0.9776, allocations: 7.331 MB / 1.067 GB, free: 13.42 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=480 -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