Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.009917/0.009917, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.002243/0.002243, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.545/1.545, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 66.89 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3639, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006444/0.3704, allocations: 3.781 MB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003167/0.3736, allocations: 1.801 MB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.374, allocations: 19.88 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009493/0.375, allocations: 251 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008221/0.3758, allocations: 270.7 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.3765, allocations: 230.7 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.3775, allocations: 0.7413 MB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/0.3781, allocations: 253.9 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.3785, allocations: 207.1 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.379, allocations: 231 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.3791, allocations: 20 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006389/0.3797, allocations: 351.3 kB / 1.061 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.3799, allocations: 107.6 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.3802, allocations: 207 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.3808, allocations: 451 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3808, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3808, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.3808, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 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.001315/0.3821, allocations: 0.7324 MB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3822, allocations: 11.97 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/0.3831, allocations: 144.1 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.3836, allocations: 371.7 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.3837, allocations: 21.03 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.3838, allocations: 28.36 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.3846, allocations: 0.5549 MB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3846, allocations: 4 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.3847, allocations: 15.94 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.3847, allocations: 44.53 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.3854, allocations: 413.7 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.3883, allocations: 3.326 MB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.3889, allocations: 342.4 kB / 1.067 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.3892, allocations: 180.7 kB / 1.067 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3893, allocations: 4 kB / 1.067 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3893, allocations: 30.56 kB / 1.067 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.3893, allocations: 4 kB / 1.067 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.002074/0.3914, allocations: 1.054 MB / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3914, allocations: 55.64 kB / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.3918, allocations: 345.5 kB / 1.069 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3918, allocations: 29.7 kB / 1.069 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.392, allocations: 247.5 kB / 1.069 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.3921, allocations: 98.64 kB / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3922, allocations: 74.03 kB / 1.069 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3923, allocations: 346.8 kB / 1.07 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.3926, allocations: 156.7 kB / 1.07 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.393, allocations: 294.5 kB / 1.07 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.3936, allocations: 482.5 kB / 1.071 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3936, allocations: 4 kB / 1.071 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009757/0.3946, allocations: 0.5619 MB / 1.071 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3947, allocations: 4 kB / 1.071 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3947, allocations: 8 kB / 1.071 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.395, allocations: 86.44 kB / 1.071 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3954, allocations: 91.88 kB / 1.071 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.3954, allocations: 12.22 kB / 1.071 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3957, allocations: 31.91 kB / 1.071 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.3958, allocations: 20 kB / 1.071 GB, free: 4.527 MB / 0.8262 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.000238/0.396, allocations: 169.7 kB / 1.071 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.3961, allocations: 43.53 kB / 1.072 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.3971, allocations: 476.1 kB / 1.072 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3971, allocations: 0 / 1.072 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3971, allocations: 4 kB / 1.072 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3971, allocations: 0 / 1.072 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.3987, allocations: 0.9669 MB / 1.073 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3987, allocations: 0 / 1.073 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.3989, allocations: 51.89 kB / 1.073 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.3992, allocations: 78.45 kB / 1.073 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3992, allocations: 8.094 kB / 1.073 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3992, allocations: 4 kB / 1.073 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3992, allocations: 4 kB / 1.073 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008747/0.4001, allocations: 0.5428 MB / 1.074 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4003, allocations: 136.6 kB / 1.074 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.4004, allocations: 8 kB / 1.074 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.4006, allocations: 23.97 kB / 1.074 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.4007, allocations: 27.84 kB / 1.074 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4007, allocations: 8 kB / 1.074 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000259/0.401, allocations: 235.2 kB / 1.074 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.401, allocations: 4 kB / 1.074 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004521/0.4014, allocations: 88 kB / 1.074 GB, free: 1.52 MB / 0.8262 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.0001473/0.4016, allocations: 99.25 kB / 1.074 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009033/0.4025, allocations: 0.631 MB / 1.075 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4025, allocations: 0 / 1.075 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.4029, allocations: 433.7 kB / 1.075 GB, free: 232 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.4037, allocations: 121.1 kB / 1.075 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.405, allocations: 0.9284 MB / 1.076 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.4054, allocations: 0.8197 MB / 1.077 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4055, allocations: 31.44 kB / 1.077 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.4055, allocations: 0 / 1.077 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of Templates: time 0.01291/0.4184, allocations: 9.435 MB / 1.086 GB, free: 4.852 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches