Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00143/0.00143, allocations: 103.2 kB / 16.4 MB, free: 6.461 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.00146/0.00146, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.529/2.529, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9723/0.9739, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00734/0.9813, allocations: 4.855 MB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.9858, allocations: 2.455 MB / 1.216 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006586/0.9865, allocations: 23.81 kB / 1.216 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.988, allocations: 401.1 kB / 1.216 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.9894, allocations: 445.6 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.9904, allocations: 367.2 kB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.9918, allocations: 0.9173 MB / 1.218 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.9925, allocations: 350.5 kB / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.9932, allocations: 342.6 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.9938, allocations: 350.5 kB / 1.219 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.9939, allocations: 36 kB / 1.219 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008412/0.9947, allocations: 399.1 kB / 1.219 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.995, allocations: 183.5 kB / 1.219 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.9954, allocations: 318.2 kB / 1.22 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.9967, allocations: 0.8854 MB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.9967, allocations: 0 / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9967, allocations: 0 / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.9967, allocations: 0 / 1.22 GB, free: 1.281 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001778/0.9985, allocations: 0.9424 MB / 1.221 GB, free: 292 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9986, allocations: 8.031 kB / 1.221 GB, free: 284 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.9999, allocations: 207.8 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/1.001, allocations: 0.5335 MB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/1.001, allocations: 33.36 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/1.001, allocations: 44.28 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.002, allocations: 0.8448 MB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.002, allocations: 7.938 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/1.002, allocations: 23.98 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.096e-05/1.002, allocations: 64.95 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/1.003, allocations: 0.5772 MB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/1.008, allocations: 5.635 MB / 1.229 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/1.009, allocations: 458.2 kB / 1.23 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/1.009, allocations: 236.7 kB / 1.23 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/1.009, allocations: 4.531 kB / 1.23 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.009, allocations: 30.56 kB / 1.23 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 2.845e-06/1.009, allocations: 0 / 1.23 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002759/1.012, allocations: 1.508 MB / 1.231 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.012, allocations: 55.69 kB / 1.231 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/1.013, allocations: 0.495 MB / 1.232 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/1.013, allocations: 29.7 kB / 1.232 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/1.013, allocations: 350.8 kB / 1.232 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/1.013, allocations: 126.3 kB / 1.232 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/1.013, allocations: 106.2 kB / 1.232 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.014, allocations: 366.8 kB / 1.233 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/1.014, allocations: 201.2 kB / 1.233 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/1.014, allocations: 447.3 kB / 1.233 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/1.015, allocations: 0.6916 MB / 1.234 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.015, allocations: 0 / 1.234 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001488/1.017, allocations: 0.8093 MB / 1.235 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.017, allocations: 8 kB / 1.235 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.017, allocations: 8 kB / 1.235 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/1.018, allocations: 160.5 kB / 1.235 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/1.018, allocations: 119.8 kB / 1.235 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/1.022, allocations: 4.34 MB / 1.239 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/1.023, allocations: 35.97 kB / 1.239 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/1.023, allocations: 28 kB / 1.239 GB, free: 12.31 MB / 0.9669 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.0003784/1.023, allocations: 221.5 kB / 1.24 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.023, allocations: 67.23 kB / 1.24 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.024, allocations: 0.5932 MB / 1.24 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.024, allocations: 4 kB / 1.24 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.024, allocations: 4 kB / 1.24 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.024, allocations: 4 kB / 1.24 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/1.026, allocations: 1.261 MB / 1.241 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.026, allocations: 7.984 kB / 1.242 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/1.027, allocations: 51.95 kB / 1.242 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/1.027, allocations: 144.3 kB / 1.242 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/1.027, allocations: 11.94 kB / 1.242 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/1.031, allocations: 4.328 MB / 1.246 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.031, allocations: 3.938 kB / 1.246 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/1.032, allocations: 0.7078 MB / 1.247 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/1.033, allocations: 176.2 kB / 1.247 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.053e-05/1.033, allocations: 15.94 kB / 1.247 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/1.033, allocations: 23.97 kB / 1.247 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.033, allocations: 27.91 kB / 1.247 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/1.033, allocations: 12 kB / 1.247 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003879/1.033, allocations: 330.8 kB / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.033, allocations: 0 / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000699/1.034, allocations: 144 kB / 1.247 GB, free: 3.57 MB / 0.9669 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.0001643/1.034, allocations: 111.2 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.036, allocations: 1.036 MB / 1.248 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.036, allocations: 4 kB / 1.248 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008349/1.037, allocations: 0.7384 MB / 1.249 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009699/1.038, allocations: 204.3 kB / 1.249 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/1.04, allocations: 1.074 MB / 1.25 GB, free: 196 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/1.04, allocations: 0.9097 MB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.04, allocations: 39.44 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.04, allocations: 0 / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of Templates: time 0.02314/1.063, allocations: 18.05 MB / 1.269 GB, free: 13.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches