Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006713/0.006713, allocations: 103.2 kB / 15.74 MB, free: 6.062 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.001275/0.001275, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.53/2.53, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.88 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8584, allocations: 159.1 MB / 1.221 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006454/0.8648, allocations: 4.868 MB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.8687, allocations: 2.455 MB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.8691, allocations: 23.81 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.8704, allocations: 412.5 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.8715, allocations: 469.7 kB / 1.229 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.8724, allocations: 365.9 kB / 1.229 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.8736, allocations: 0.9134 MB / 1.23 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.8741, allocations: 294.5 kB / 1.23 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.8746, allocations: 342.7 kB / 1.23 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.875, allocations: 342.5 kB / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.875, allocations: 36 kB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006606/0.8757, allocations: 419 kB / 1.231 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.8759, allocations: 183.4 kB / 1.231 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.8762, allocations: 318.3 kB / 1.232 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009178/0.8771, allocations: 0.8836 MB / 1.233 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8771, allocations: 4 kB / 1.233 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8771, allocations: 4 kB / 1.233 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.8771, allocations: 4 kB / 1.233 GB, free: 5.848 MB / 0.9512 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.001302/0.8784, allocations: 0.9416 MB / 1.233 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.8784, allocations: 16.03 kB / 1.234 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.8796, allocations: 212.1 kB / 1.234 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/0.8803, allocations: 0.5378 MB / 1.234 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.8804, allocations: 33.36 kB / 1.234 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.8804, allocations: 44.38 kB / 1.234 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.8814, allocations: 0.8448 MB / 1.235 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.8815, allocations: 7.938 kB / 1.235 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.8815, allocations: 23.98 kB / 1.235 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.467e-05/0.8816, allocations: 68.89 kB / 1.235 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007844/0.8824, allocations: 0.5656 MB / 1.236 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004077/0.8865, allocations: 5.647 MB / 1.241 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.887, allocations: 423.3 kB / 1.242 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.8873, allocations: 204.7 kB / 1.242 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.8873, allocations: 4.531 kB / 1.242 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.8874, allocations: 42.55 kB / 1.242 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.8874, allocations: 0 / 1.242 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002388/0.8898, allocations: 1.512 MB / 1.243 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.8898, allocations: 63.67 kB / 1.243 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.8903, allocations: 0.4911 MB / 1.244 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.8903, allocations: 29.7 kB / 1.244 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.8905, allocations: 363.8 kB / 1.244 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.8906, allocations: 130.9 kB / 1.244 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.8908, allocations: 114.2 kB / 1.245 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.891, allocations: 358.8 kB / 1.245 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.8913, allocations: 197.2 kB / 1.245 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.8918, allocations: 451.3 kB / 1.246 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.8927, allocations: 0.6835 MB / 1.246 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.8927, allocations: 7.938 kB / 1.246 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001363/0.8941, allocations: 0.8135 MB / 1.247 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8941, allocations: 8 kB / 1.247 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.8941, allocations: 8 kB / 1.247 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.8947, allocations: 156.8 kB / 1.247 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.8951, allocations: 119.8 kB / 1.247 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.8991, allocations: 4.349 MB / 1.252 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.8995, allocations: 31.97 kB / 1.252 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.8995, allocations: 32.16 kB / 1.252 GB, free: 0.8906 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.0003096/0.8998, allocations: 213.5 kB / 1.252 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/0.8999, allocations: 67.58 kB / 1.252 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.9009, allocations: 0.5969 MB / 1.252 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9009, allocations: 7.984 kB / 1.252 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.9009, allocations: 0 / 1.252 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9009, allocations: 0 / 1.252 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.9027, allocations: 1.257 MB / 1.254 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9027, allocations: 0 / 1.254 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.9029, allocations: 55.89 kB / 1.254 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003913/0.9033, allocations: 144.4 kB / 1.254 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.9034, allocations: 11.94 kB / 1.254 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.9065, allocations: 4.333 MB / 1.258 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9065, allocations: 4.031 kB / 1.258 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.9075, allocations: 0.7163 MB / 1.259 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.9076, allocations: 176.6 kB / 1.259 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.9077, allocations: 8 kB / 1.259 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.9079, allocations: 27.97 kB / 1.259 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.908, allocations: 27.91 kB / 1.259 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.908, allocations: 8 kB / 1.259 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003467/0.9084, allocations: 334.8 kB / 1.259 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9084, allocations: 0 / 1.259 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006208/0.909, allocations: 147.9 kB / 1.26 GB, free: 8.141 MB / 0.9825 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.0001666/0.9092, allocations: 111.2 kB / 1.26 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.9105, allocations: 1.013 MB / 1.261 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9105, allocations: 4.125 kB / 1.261 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/0.9113, allocations: 0.7223 MB / 1.261 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.9122, allocations: 205.4 kB / 1.262 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.9138, allocations: 1.057 MB / 1.263 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.9142, allocations: 0.9019 MB / 1.263 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.9145, allocations: 117.3 kB / 1.264 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.9146, allocations: 47.42 kB / 1.264 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.9146, allocations: 0 / 1.264 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of Templates: time 0.01309/0.9277, allocations: 7.718 MB / 1.271 GB, free: 12.09 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches