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.001252/0.001252, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.00123/0.00123, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 57.34 kB / 0.8773 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3321, allocations: 153 MB / 1.027 GB, free: 1.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005284/0.3374, allocations: 3.757 MB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.3404, allocations: 1.8 MB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.3406, allocations: 15.94 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.3415, allocations: 266.6 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.3422, allocations: 290.5 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.3428, allocations: 259 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006305/0.3434, allocations: 0.6049 MB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.3438, allocations: 250.6 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.3441, allocations: 235.1 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.3445, allocations: 243 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.3445, allocations: 24 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.345, allocations: 271.4 kB / 1.035 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3451, allocations: 123.6 kB / 1.035 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3453, allocations: 206.8 kB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.346, allocations: 0.5878 MB / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.346, allocations: 0 / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.346, allocations: 4 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.346, allocations: 4 kB / 1.035 GB, free: 9.051 MB / 0.8106 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.001166/0.3472, allocations: 0.7324 MB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3472, allocations: 12.03 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.3481, allocations: 144.1 kB / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/0.3487, allocations: 403.6 kB / 1.037 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3488, allocations: 21.03 kB / 1.037 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.3488, allocations: 28.36 kB / 1.037 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.3496, allocations: 0.5549 MB / 1.037 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3497, allocations: 4 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.3497, allocations: 16 kB / 1.037 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-05/0.3498, allocations: 40.53 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007174/0.3505, allocations: 413.7 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.3535, allocations: 3.322 MB / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.3542, allocations: 341.1 kB / 1.041 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.3545, allocations: 188.6 kB / 1.041 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3545, allocations: 0 / 1.041 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3546, allocations: 34.56 kB / 1.041 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/0.3546, allocations: 0 / 1.041 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.002028/0.3566, allocations: 1.065 MB / 1.043 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3567, allocations: 55.64 kB / 1.043 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.357, allocations: 337.5 kB / 1.043 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.3571, allocations: 29.7 kB / 1.043 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3572, allocations: 243.5 kB / 1.043 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.3573, allocations: 98.64 kB / 1.043 GB, free: 492 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3574, allocations: 78.03 kB / 1.043 GB, free: 408 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3576, allocations: 350.7 kB / 1.044 GB, free: 48 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.3579, allocations: 148.8 kB / 1.044 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.3582, allocations: 290.5 kB / 1.044 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.3589, allocations: 483.2 kB / 1.045 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3589, allocations: 0 / 1.045 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009561/0.3599, allocations: 0.5617 MB / 1.045 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3599, allocations: 11.98 kB / 1.045 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3599, allocations: 4 kB / 1.045 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.3602, allocations: 90.89 kB / 1.045 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.3606, allocations: 91.88 kB / 1.045 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.3606, allocations: 15.94 kB / 1.045 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3609, allocations: 27.91 kB / 1.045 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3609, allocations: 20 kB / 1.045 GB, free: 14.18 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.0001888/0.3611, allocations: 173.8 kB / 1.046 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.3612, allocations: 43.53 kB / 1.046 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.362, allocations: 468.2 kB / 1.046 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.362, allocations: 4 kB / 1.046 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3621, allocations: 0 / 1.046 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3621, allocations: 0 / 1.046 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3635, allocations: 0.9638 MB / 1.047 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3635, allocations: 0 / 1.047 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.3637, allocations: 51.89 kB / 1.047 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.364, allocations: 82.61 kB / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.364, allocations: 7.984 kB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.364, allocations: 4 kB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.364, allocations: 0 / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.3648, allocations: 0.5469 MB / 1.048 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.365, allocations: 144.5 kB / 1.048 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.3651, allocations: 4 kB / 1.048 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3653, allocations: 23.97 kB / 1.048 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.3654, allocations: 31.84 kB / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3654, allocations: 4 kB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002164/0.3656, allocations: 239.2 kB / 1.048 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3656, allocations: 0 / 1.048 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004215/0.366, allocations: 88 kB / 1.048 GB, free: 11.17 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.0001377/0.3662, allocations: 107.2 kB / 1.048 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008501/0.367, allocations: 0.6229 MB / 1.049 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3671, allocations: 7.938 kB / 1.049 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.3675, allocations: 426.7 kB / 1.049 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.3682, allocations: 133.9 kB / 1.049 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3693, allocations: 0.7229 MB / 1.05 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3696, allocations: 0.8234 MB / 1.051 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.3699, allocations: 87.3 kB / 1.051 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.3699, allocations: 31.38 kB / 1.051 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3699, allocations: 0 / 1.051 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.008926/0.3789, allocations: 4.681 MB / 1.056 GB, free: 3.395 MB / 0.8262 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 -s gbode -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