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.0015/0.0015, 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.001746/0.001746, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.219 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.772/2.772, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 64.14 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.856, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.007794/0.8639, allocations: 3.752 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.8674, allocations: 1.793 MB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.8677, allocations: 19.88 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.8689, allocations: 266.6 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007966/0.8697, allocations: 302.4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.8704, allocations: 239.5 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005992/0.871, allocations: 0.6088 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.8715, allocations: 258.5 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.8718, allocations: 227.1 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.8721, allocations: 239 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.8722, allocations: 27.94 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.8726, allocations: 271.5 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.8728, allocations: 127.6 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.873, allocations: 202.9 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.8736, allocations: 0.5898 MB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8736, allocations: 0 / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8736, allocations: 0 / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.8737, allocations: 0 / 1.026 GB, free: 9.555 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.001197/0.8749, allocations: 0.7285 MB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8749, allocations: 8.031 kB / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008829/0.8758, allocations: 136.2 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.8763, allocations: 379.5 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.8763, allocations: 29.02 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.8764, allocations: 24.38 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.8772, allocations: 0.555 MB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.8772, allocations: 0 / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.8773, allocations: 20 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-05/0.8774, allocations: 44.47 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.8781, allocations: 405.8 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.8809, allocations: 3.33 MB / 1.031 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.8816, allocations: 344.3 kB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.8819, allocations: 180.8 kB / 1.032 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.882, allocations: 0 / 1.032 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.882, allocations: 42.56 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.882, allocations: 0 / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.002029/0.884, allocations: 1.055 MB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.8841, allocations: 51.64 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.8844, allocations: 357.4 kB / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.8845, allocations: 29.7 kB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.8846, allocations: 243.6 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.8847, allocations: 98.53 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.8848, allocations: 82.03 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.885, allocations: 346.8 kB / 1.034 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.8852, allocations: 148.8 kB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.8856, allocations: 290.5 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.8863, allocations: 480.9 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8863, allocations: 0 / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009642/0.8873, allocations: 0.5703 MB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8873, allocations: 8 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.8873, allocations: 4 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.8876, allocations: 91.06 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.888, allocations: 91.88 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.888, allocations: 11.94 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.8883, allocations: 27.91 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.8883, allocations: 23.98 kB / 1.036 GB, free: 14.7 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.0001943/0.8885, allocations: 177.7 kB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.8886, allocations: 39.53 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.8895, allocations: 460 kB / 1.036 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.8895, allocations: 4 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8895, allocations: 0 / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8895, allocations: 0 / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.8909, allocations: 0.9676 MB / 1.037 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8909, allocations: 0 / 1.037 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.8912, allocations: 51.89 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.8914, allocations: 82.61 kB / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.8914, allocations: 8 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8914, allocations: 0 / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8915, allocations: 7.984 kB / 1.038 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.8923, allocations: 0.537 MB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.8924, allocations: 144.6 kB / 1.038 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.8925, allocations: 3.938 kB / 1.038 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.8927, allocations: 23.97 kB / 1.038 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.8928, allocations: 35.83 kB / 1.038 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.8928, allocations: 8 kB / 1.038 GB, free: 12.01 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00022/0.893, allocations: 235.2 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.463e-06/0.8931, allocations: 4 kB / 1.039 GB, free: 11.78 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004142/0.8935, allocations: 87.94 kB / 1.039 GB, free: 11.7 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.000132/0.8936, allocations: 103.2 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009135/0.8945, allocations: 0.6583 MB / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8945, allocations: 9.188 kB / 1.039 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.895, allocations: 433.8 kB / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.8957, allocations: 129.4 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.8968, allocations: 0.7307 MB / 1.041 GB, free: 9.477 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.8972, allocations: 0.831 MB / 1.041 GB, free: 8.621 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002423/0.8975, allocations: 83.36 kB / 1.042 GB, free: 8.535 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.8976, allocations: 27.44 kB / 1.042 GB, free: 8.512 MB / 0.795 GB Notification: Performance of SimCode: time 8.71e-07/0.8976, allocations: 0 / 1.042 GB, free: 8.512 MB / 0.795 GB Notification: Performance of Templates: time 0.01054/0.9081, allocations: 4.669 MB / 1.046 GB, free: 3.902 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=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/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