Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002132/0.002132, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.566/2.566, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 68.53 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3577, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006202/0.364, allocations: 3.752 MB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.3674, allocations: 1.789 MB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.3676, allocations: 15.88 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.3686, allocations: 270.6 kB / 1.024 GB, free: 4.82 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.3693, allocations: 298.4 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.37, allocations: 248.6 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007975/0.3709, allocations: 0.6088 MB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.3713, allocations: 258.5 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.3717, allocations: 227.1 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.3721, allocations: 243 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.3721, allocations: 24 kB / 1.026 GB, free: 2.93 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/0.3727, allocations: 267.4 kB / 1.026 GB, free: 2.668 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3729, allocations: 123.6 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.3731, allocations: 202.9 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.3738, allocations: 0.5842 MB / 1.027 GB, free: 1.762 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3738, allocations: 0 / 1.027 GB, free: 1.762 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3739, allocations: 0 / 1.027 GB, free: 1.762 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.3739, allocations: 0 / 1.027 GB, free: 1.762 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001427/0.3753, allocations: 0.7324 MB / 1.027 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3754, allocations: 8.922 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3764, allocations: 144.1 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.3769, allocations: 383.6 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.377, allocations: 21.03 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.377, allocations: 28.36 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.378, allocations: 0.5588 MB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.378, allocations: 4 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.378, allocations: 15.94 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/0.3781, allocations: 44.53 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.3789, allocations: 409.7 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.3823, allocations: 3.33 MB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.3831, allocations: 342.3 kB / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.3835, allocations: 180.8 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3835, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3835, allocations: 42.56 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.3835, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.002313/0.3859, allocations: 1.059 MB / 1.034 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3859, allocations: 63.5 kB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.3863, allocations: 345.5 kB / 1.034 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3864, allocations: 25.7 kB / 1.034 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3866, allocations: 243.5 kB / 1.034 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.3867, allocations: 98.64 kB / 1.034 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3868, allocations: 78.03 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.387, allocations: 350.8 kB / 1.035 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.3873, allocations: 144.8 kB / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.3877, allocations: 291.8 kB / 1.035 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.3885, allocations: 478.3 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3885, allocations: 0 / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001071/0.3896, allocations: 0.5695 MB / 1.036 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3896, allocations: 10.81 kB / 1.036 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.3896, allocations: 8.609 kB / 1.036 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.3899, allocations: 86.52 kB / 1.036 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.3903, allocations: 87.88 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.3903, allocations: 7.938 kB / 1.037 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.3906, allocations: 31.91 kB / 1.037 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.3907, allocations: 20 kB / 1.037 GB, free: 6.906 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.3909, allocations: 184.1 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.391, allocations: 43.53 kB / 1.037 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009533/0.3919, allocations: 460 kB / 1.037 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.392, allocations: 0 / 1.037 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.392, allocations: 4 kB / 1.037 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.392, allocations: 4 kB / 1.037 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.3936, allocations: 0.9599 MB / 1.038 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3936, allocations: 3.938 kB / 1.038 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.3938, allocations: 51.98 kB / 1.038 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.3941, allocations: 78.52 kB / 1.038 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3941, allocations: 8 kB / 1.038 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3941, allocations: 3.984 kB / 1.038 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3941, allocations: 4 kB / 1.038 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.3951, allocations: 0.5428 MB / 1.039 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3952, allocations: 140.6 kB / 1.039 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.3953, allocations: 4 kB / 1.039 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3955, allocations: 23.97 kB / 1.039 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.3956, allocations: 35.78 kB / 1.039 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3956, allocations: 8 kB / 1.039 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002752/0.3959, allocations: 231.2 kB / 1.039 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3959, allocations: 4 kB / 1.039 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004482/0.3964, allocations: 88 kB / 1.039 GB, free: 3.895 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.3965, allocations: 107.2 kB / 1.039 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.3976, allocations: 0.6622 MB / 1.04 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3976, allocations: 0 / 1.04 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.3981, allocations: 437.9 kB / 1.041 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.3989, allocations: 132.8 kB / 1.041 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4002, allocations: 0.7675 MB / 1.041 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.4007, allocations: 0.8271 MB / 1.042 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4009, allocations: 35.42 kB / 1.042 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.4009, allocations: 0 / 1.042 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of Templates: time 0.01339/0.4143, allocations: 9.432 MB / 1.051 GB, free: 7.336 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches