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.001416/0.001416, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.001347/0.001347, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 469.4 MB / 0.7423 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 62.95 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3587, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006457/0.3652, allocations: 4.883 MB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.3695, allocations: 2.44 MB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007215/0.3702, allocations: 23.81 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.3717, allocations: 355.9 kB / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.373, allocations: 410 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009771/0.374, allocations: 346.3 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.3754, allocations: 0.9134 MB / 1.073 GB, free: 6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000747/0.3761, allocations: 398.4 kB / 1.073 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.3768, allocations: 346.5 kB / 1.074 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.3774, allocations: 350.5 kB / 1.074 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3775, allocations: 40 kB / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007402/0.3782, allocations: 403.1 kB / 1.074 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.3785, allocations: 187.4 kB / 1.075 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.3788, allocations: 314.2 kB / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.3797, allocations: 0.6744 MB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3797, allocations: 3.938 kB / 1.075 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3797, allocations: 3.938 kB / 1.075 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.3797, allocations: 0 / 1.075 GB, free: 3.316 MB / 0.8419 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.001576/0.3813, allocations: 0.9386 MB / 1.076 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3814, allocations: 12.62 kB / 1.076 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.3826, allocations: 195.9 kB / 1.077 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.3833, allocations: 494.3 kB / 1.077 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.3834, allocations: 41.36 kB / 1.077 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.3834, allocations: 40.38 kB / 1.077 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3845, allocations: 0.8448 MB / 1.078 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.3846, allocations: 11.84 kB / 1.078 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.3846, allocations: 23.98 kB / 1.078 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.318e-05/0.3847, allocations: 64.95 kB / 1.078 GB, free: 456 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6161/1.001, allocations: 0.563 MB / 1.079 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/1.005, allocations: 5.649 MB / 1.084 GB, free: 17.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/1.006, allocations: 459.8 kB / 1.085 GB, free: 17.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/1.006, allocations: 223.9 kB / 1.085 GB, free: 17.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/1.006, allocations: 5.688 kB / 1.085 GB, free: 17.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/1.006, allocations: 36.53 kB / 1.085 GB, free: 17.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/1.007, allocations: 0 / 1.085 GB, free: 17.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002718/1.009, allocations: 1.508 MB / 1.086 GB, free: 16.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/1.009, allocations: 55.09 kB / 1.086 GB, free: 16.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/1.01, allocations: 0.4956 MB / 1.087 GB, free: 16.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/1.01, allocations: 31.73 kB / 1.087 GB, free: 16.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/1.01, allocations: 356.3 kB / 1.087 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/1.01, allocations: 121.9 kB / 1.087 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/1.01, allocations: 114.7 kB / 1.087 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.011, allocations: 369.1 kB / 1.088 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/1.011, allocations: 196 kB / 1.088 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/1.011, allocations: 443.3 kB / 1.088 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/1.012, allocations: 0.6915 MB / 1.089 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.012, allocations: 1.406 kB / 1.089 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001277/1.013, allocations: 0.8085 MB / 1.09 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.013, allocations: 10.09 kB / 1.09 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.013, allocations: 7.312 kB / 1.09 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/1.014, allocations: 153.2 kB / 1.09 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/1.014, allocations: 126.4 kB / 1.09 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/1.017, allocations: 4.347 MB / 1.094 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/1.017, allocations: 32.02 kB / 1.094 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/1.018, allocations: 32.62 kB / 1.094 GB, free: 9.695 MB / 0.8419 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.000264/1.018, allocations: 211.6 kB / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/1.018, allocations: 61.25 kB / 1.095 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.019, allocations: 0.5997 MB / 1.095 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.019, allocations: 3.797 kB / 1.095 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.019, allocations: 1.938 kB / 1.095 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.019, allocations: 1.922 kB / 1.095 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/1.021, allocations: 1.258 MB / 1.097 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.021, allocations: 2.719 kB / 1.097 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/1.021, allocations: 58.19 kB / 1.097 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003909/1.022, allocations: 142.6 kB / 1.097 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/1.022, allocations: 8.328 kB / 1.097 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/1.024, allocations: 4.341 MB / 1.101 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.024, allocations: 6.062 kB / 1.101 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/1.025, allocations: 0.7031 MB / 1.102 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/1.025, allocations: 171.5 kB / 1.102 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/1.025, allocations: 12.66 kB / 1.102 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/1.026, allocations: 26.38 kB / 1.102 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/1.026, allocations: 34.39 kB / 1.102 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/1.026, allocations: 9.312 kB / 1.102 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004892/1.026, allocations: 337.3 kB / 1.102 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/1.026, allocations: 0 / 1.102 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007902/1.027, allocations: 138.1 kB / 1.102 GB, free: 3.406 MB / 0.8419 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.0001449/1.027, allocations: 123.4 kB / 1.102 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001454/1.029, allocations: 1.084 MB / 1.104 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.029, allocations: 0 / 1.104 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/1.029, allocations: 0.7348 MB / 1.104 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/1.03, allocations: 208.5 kB / 1.104 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/1.032, allocations: 1.305 MB / 1.106 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/1.033, allocations: 0.9027 MB / 1.107 GB, free: 360 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/1.033, allocations: 43.34 kB / 1.107 GB, free: 352 kB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/1.033, allocations: 0 / 1.107 GB, free: 352 kB / 0.8419 GB Notification: Performance of Templates: time 0.0289/1.062, allocations: 17.97 MB / 1.124 GB, free: 13.3 MB / 0.8575 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