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.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.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.0008437/0.0008436, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006624/0.006624, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 8.375 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004146/0.3184, allocations: 3.403 MB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.3213, allocations: 1.785 MB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.3217, allocations: 15.88 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.322, allocations: 59.5 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.3228, allocations: 278.8 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.3234, allocations: 227.6 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008467/0.3243, allocations: 0.7412 MB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006941/0.325, allocations: 358.9 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.3255, allocations: 199 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.3259, allocations: 227 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.3259, allocations: 12 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000565/0.3265, allocations: 343.3 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.3267, allocations: 107.6 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.3269, allocations: 212.6 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.3277, allocations: 0.5802 MB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3277, allocations: 0 / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.556e-06/0.3277, allocations: 4 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.3277, allocations: 0 / 1.067 GB, free: 12.89 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.00112/0.3288, allocations: 0.674 MB / 1.068 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3289, allocations: 8.031 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.3298, allocations: 140.2 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.3304, allocations: 375.6 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.3305, allocations: 29.02 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.3305, allocations: 28.38 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.3315, allocations: 0.5644 MB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.3316, allocations: 7.938 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.3316, allocations: 12 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-05/0.3317, allocations: 40.53 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.3325, allocations: 417.8 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.3354, allocations: 3.33 MB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.336, allocations: 346.4 kB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.3364, allocations: 184.8 kB / 1.073 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3364, allocations: 0 / 1.073 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3364, allocations: 42.56 kB / 1.073 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.102e-06/0.3364, allocations: 0 / 1.073 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.002005/0.3384, allocations: 1.088 MB / 1.074 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3385, allocations: 55.64 kB / 1.074 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3388, allocations: 341.6 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3388, allocations: 29.7 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.339, allocations: 247.5 kB / 1.075 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.3391, allocations: 98.66 kB / 1.075 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.3391, allocations: 33.7 kB / 1.075 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3392, allocations: 350.8 kB / 1.075 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.3395, allocations: 148.8 kB / 1.075 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3399, allocations: 298.5 kB / 1.076 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.3405, allocations: 498.5 kB / 1.076 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3406, allocations: 0 / 1.076 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000975/0.3415, allocations: 0.5699 MB / 1.077 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3416, allocations: 9.25 kB / 1.077 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.3416, allocations: 8.031 kB / 1.077 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.3419, allocations: 86.52 kB / 1.077 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.3422, allocations: 91.81 kB / 1.077 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3422, allocations: 4 kB / 1.077 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.3425, allocations: 43.91 kB / 1.077 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.3426, allocations: 19.98 kB / 1.077 GB, free: 2.066 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.0001748/0.3428, allocations: 173.6 kB / 1.077 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.3428, allocations: 43.47 kB / 1.077 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009134/0.3437, allocations: 484.2 kB / 1.078 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3438, allocations: 4 kB / 1.078 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3438, allocations: 0 / 1.078 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3438, allocations: 3.984 kB / 1.078 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.3452, allocations: 0.9715 MB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3452, allocations: 0 / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.3455, allocations: 60 kB / 1.079 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.3457, allocations: 82.5 kB / 1.079 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3457, allocations: 4 kB / 1.079 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3457, allocations: 4 kB / 1.079 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3458, allocations: 0 / 1.079 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.3466, allocations: 0.5584 MB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3467, allocations: 140.6 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.3468, allocations: 8 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.3471, allocations: 23.97 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.3471, allocations: 23.91 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3472, allocations: 8 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002202/0.3474, allocations: 239.2 kB / 1.08 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3474, allocations: 0 / 1.08 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004151/0.3478, allocations: 88 kB / 1.08 GB, free: 15.01 MB / 0.8419 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.0001351/0.348, allocations: 115.2 kB / 1.08 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000939/0.3489, allocations: 0.6346 MB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3489, allocations: 0 / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.3494, allocations: 438.7 kB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.3502, allocations: 117.7 kB / 1.081 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3514, allocations: 0.9111 MB / 1.082 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3517, allocations: 0.8197 MB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000263/0.352, allocations: 83.34 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.3521, allocations: 27.44 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.204e-06/0.3521, allocations: 0 / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.00881/0.3609, allocations: 4.471 MB / 1.087 GB, free: 7.27 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/jenkins/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