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.001322/0.001322, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 196.4 kB / 16.53 MB, free: 6.625 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.488/1.488, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.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.834/2.834, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001945, allocations: 71.88 kB / 0.8692 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8317, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005906/0.8376, allocations: 3.745 MB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.8408, allocations: 1.797 MB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.841, allocations: 15.88 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.842, allocations: 270.6 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.8427, allocations: 294.5 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.8433, allocations: 244.7 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007159/0.844, allocations: 0.6088 MB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.8445, allocations: 258.5 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.8449, allocations: 231 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.8452, allocations: 235 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.8453, allocations: 28 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.8458, allocations: 267.4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.846, allocations: 127.6 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.8462, allocations: 210.8 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.847, allocations: 0.5859 MB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.847, allocations: 0 / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.847, allocations: 0 / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.847, allocations: 0 / 1.026 GB, free: 9.52 MB / 0.7794 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.001342/0.8484, allocations: 0.7285 MB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.8484, allocations: 8.031 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/0.8493, allocations: 136.2 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.8499, allocations: 375.5 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.8499, allocations: 21.03 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.85, allocations: 32.38 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.8509, allocations: 0.5589 MB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.851, allocations: 7.922 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.851, allocations: 12 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-05/0.8511, allocations: 48.53 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.8518, allocations: 405.7 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.8551, allocations: 3.333 MB / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.8559, allocations: 334.4 kB / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.8562, allocations: 180.8 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.8563, allocations: 4 kB / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.8563, allocations: 38.56 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.8563, allocations: 7.938 kB / 1.032 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.002208/0.8585, allocations: 1.058 MB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.8586, allocations: 55.64 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.859, allocations: 345.5 kB / 1.033 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.859, allocations: 29.7 kB / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.8592, allocations: 243.6 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.8593, allocations: 106.5 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.8594, allocations: 70.05 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.8596, allocations: 350.8 kB / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.8599, allocations: 152.8 kB / 1.034 GB, free: 400 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.8604, allocations: 295.6 kB / 1.035 GB, free: 36 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.8611, allocations: 480.8 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8611, allocations: 0 / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001042/0.8622, allocations: 0.5696 MB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8622, allocations: 8 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8622, allocations: 4 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.8626, allocations: 87.08 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.8629, allocations: 91.81 kB / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/0.863, allocations: 15.91 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.8632, allocations: 27.92 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.8633, allocations: 19.98 kB / 1.036 GB, free: 14.66 MB / 0.795 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.0002181/0.8635, allocations: 173.8 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.8636, allocations: 39.53 kB / 1.036 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.8645, allocations: 460 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8645, allocations: 0 / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8645, allocations: 4 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.8645, allocations: 3.984 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.8661, allocations: 0.9661 MB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.8661, allocations: 4 kB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.8663, allocations: 43.97 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/0.8666, allocations: 90.53 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.8666, allocations: 4 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8666, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8666, allocations: 4 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.8675, allocations: 0.5428 MB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.8677, allocations: 132.6 kB / 1.038 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.8678, allocations: 8 kB / 1.038 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.868, allocations: 23.97 kB / 1.038 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.8681, allocations: 27.84 kB / 1.038 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.8681, allocations: 12 kB / 1.038 GB, free: 11.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002534/0.8684, allocations: 239.2 kB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.954e-06/0.8684, allocations: 0 / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004203/0.8688, allocations: 91.94 kB / 1.039 GB, free: 11.66 MB / 0.795 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.0001524/0.869, allocations: 107.2 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.87, allocations: 0.6622 MB / 1.039 GB, free: 10.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.87, allocations: 0 / 1.039 GB, free: 10.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.8705, allocations: 435.1 kB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.8713, allocations: 140.1 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.8725, allocations: 0.7366 MB / 1.041 GB, free: 9.434 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.873, allocations: 0.8232 MB / 1.041 GB, free: 8.586 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000252/0.8733, allocations: 83.34 kB / 1.042 GB, free: 8.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.8734, allocations: 31.44 kB / 1.042 GB, free: 8.473 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/0.8734, allocations: 3.938 kB / 1.042 GB, free: 8.469 MB / 0.795 GB Notification: Performance of Templates: time 0.01015/0.8835, allocations: 4.664 MB / 1.046 GB, free: 3.863 MB / 0.795 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/jenkins/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