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.001473/0.001473, allocations: 103 kB / 16.27 MB, free: 6.031 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.001886/0.001886, allocations: 190.1 kB / 17.19 MB, free: 5.668 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.409/1.409, 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.486/2.486, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 68.94 kB / 0.8699 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3306, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.008156/0.3388, allocations: 3.756 MB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004152/0.343, allocations: 1.793 MB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.3435, allocations: 15.94 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.3448, allocations: 262.6 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3458, allocations: 298.5 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.3467, allocations: 248.7 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.3477, allocations: 0.6088 MB / 1.025 GB, free: 3.727 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.3483, allocations: 258.5 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.3488, allocations: 231.1 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005019/0.3493, allocations: 231 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.735e-05/0.3495, allocations: 24 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.3502, allocations: 279.4 kB / 1.026 GB, free: 2.719 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.3504, allocations: 119.7 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.3508, allocations: 214.8 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.3519, allocations: 0.5765 MB / 1.027 GB, free: 1.812 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3519, allocations: 0 / 1.027 GB, free: 1.812 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3519, allocations: 0 / 1.027 GB, free: 1.812 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.352, allocations: 0 / 1.027 GB, free: 1.812 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.001662/0.3536, allocations: 0.7363 MB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3537, allocations: 12.62 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3551, allocations: 140.1 kB / 1.027 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.3558, allocations: 371.7 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3558, allocations: 25.02 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.3559, allocations: 28.38 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.357, allocations: 0.5524 MB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.357, allocations: 3.938 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.3571, allocations: 19.98 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.35e-05/0.3572, allocations: 48.45 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3582, allocations: 413.7 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.3621, allocations: 3.33 MB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.363, allocations: 337.4 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.3635, allocations: 184.7 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3635, allocations: 0 / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3635, allocations: 34.56 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 3.256e-06/0.3636, allocations: 0 / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.002755/0.3663, allocations: 1.065 MB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3664, allocations: 55.64 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.3669, allocations: 341.5 kB / 1.034 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3669, allocations: 29.7 kB / 1.034 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3671, allocations: 251.5 kB / 1.034 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3673, allocations: 90.66 kB / 1.034 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3674, allocations: 82.03 kB / 1.035 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3676, allocations: 346.8 kB / 1.035 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.368, allocations: 148.8 kB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.3685, allocations: 294.5 kB / 1.035 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.3695, allocations: 478.6 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3695, allocations: 0 / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001453/0.371, allocations: 0.5656 MB / 1.036 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.371, allocations: 8 kB / 1.036 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.371, allocations: 4 kB / 1.036 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.3715, allocations: 94.48 kB / 1.036 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.372, allocations: 88.19 kB / 1.036 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.372, allocations: 12 kB / 1.036 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.3724, allocations: 31.91 kB / 1.037 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.3725, allocations: 20 kB / 1.037 GB, free: 6.957 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.000251/0.3728, allocations: 170.3 kB / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3729, allocations: 43.52 kB / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.3742, allocations: 472.2 kB / 1.037 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3742, allocations: 4 kB / 1.037 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3742, allocations: 0 / 1.037 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3742, allocations: 0 / 1.037 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.3765, allocations: 0.965 MB / 1.038 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3766, allocations: 0 / 1.038 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.3769, allocations: 55.89 kB / 1.038 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.3773, allocations: 74.52 kB / 1.038 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.3773, allocations: 12.09 kB / 1.038 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.3773, allocations: 7.938 kB / 1.038 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3773, allocations: 0 / 1.038 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3786, allocations: 0.5389 MB / 1.039 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.3789, allocations: 144.5 kB / 1.039 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.613e-05/0.379, allocations: 7.984 kB / 1.039 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3794, allocations: 23.92 kB / 1.039 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.3795, allocations: 31.83 kB / 1.039 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3795, allocations: 8 kB / 1.039 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003068/0.3798, allocations: 235.2 kB / 1.039 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3799, allocations: 4 kB / 1.039 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006407/0.3805, allocations: 84 kB / 1.039 GB, free: 3.945 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.0001561/0.3807, allocations: 107.2 kB / 1.039 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.382, allocations: 0.668 MB / 1.04 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.382, allocations: 0 / 1.04 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.3826, allocations: 429.7 kB / 1.04 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3837, allocations: 137.5 kB / 1.041 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3854, allocations: 0.7706 MB / 1.041 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.386, allocations: 0.8271 MB / 1.042 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.3861, allocations: 35.38 kB / 1.042 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3862, allocations: 0 / 1.042 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of Templates: time 0.01406/0.4002, allocations: 9.426 MB / 1.051 GB, free: 7.391 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=480 -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