Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001562/0.001562, allocations: 193.2 kB / 16.14 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.484/1.484, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.798, allocations: 140.3 MB / 0.9489 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004645/0.8027, allocations: 3.787 MB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.8053, allocations: 1.802 MB / 0.9544 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.8056, allocations: 17.97 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.8064, allocations: 237 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.8072, allocations: 275.7 kB / 0.9549 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.8077, allocations: 236.9 kB / 0.9551 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007423/0.8085, allocations: 0.7322 MB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.809, allocations: 251.5 kB / 0.9561 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.8093, allocations: 220.4 kB / 0.9563 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.8096, allocations: 224.5 kB / 0.9565 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.8096, allocations: 21.94 kB / 0.9565 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.8102, allocations: 344.8 kB / 0.9568 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.8103, allocations: 110.2 kB / 0.957 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.8105, allocations: 201.9 kB / 0.9571 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.8111, allocations: 0.5886 MB / 0.9577 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8111, allocations: 7.938 kB / 0.9577 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.8111, allocations: 0 / 0.9577 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.8111, allocations: 5.531 kB / 0.9577 GB, free: 2.723 MB / 0.7169 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.001057/0.8122, allocations: 0.7309 MB / 0.9584 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8122, allocations: 9.625 kB / 0.9585 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.8131, allocations: 137 kB / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.8135, allocations: 375.6 kB / 0.9589 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.8135, allocations: 28.3 kB / 0.959 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.8136, allocations: 28.06 kB / 0.959 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.8144, allocations: 0.5554 MB / 0.9595 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.8144, allocations: 10.19 kB / 0.9596 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.8144, allocations: 13.47 kB / 0.9596 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.8145, allocations: 37.45 kB / 0.9596 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.8153, allocations: 408.8 kB / 0.96 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.818, allocations: 3.332 MB / 0.9632 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.8187, allocations: 334.4 kB / 0.9636 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.819, allocations: 181.2 kB / 0.9637 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.8191, allocations: 2.625 kB / 0.9637 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8191, allocations: 40.94 kB / 0.9638 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.8191, allocations: 0 / 0.9638 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002062/0.8212, allocations: 1.063 MB / 0.9648 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.8212, allocations: 54.77 kB / 0.9649 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.8216, allocations: 342.7 kB / 0.9652 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.8216, allocations: 30.86 kB / 0.9652 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.8218, allocations: 246.5 kB / 0.9655 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.8219, allocations: 103.2 kB / 0.9656 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.822, allocations: 72.8 kB / 0.9656 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8222, allocations: 347.7 kB / 0.966 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.8225, allocations: 144.9 kB / 0.9661 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.8229, allocations: 291.7 kB / 0.9664 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.8236, allocations: 485.8 kB / 0.9668 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8236, allocations: 2.031 kB / 0.9668 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00102/0.8246, allocations: 0.5644 MB / 0.9674 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.8247, allocations: 7.062 kB / 0.9674 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.8247, allocations: 9.562 kB / 0.9674 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/0.825, allocations: 85.67 kB / 0.9675 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.8254, allocations: 87.62 kB / 0.9676 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.8254, allocations: 10.56 kB / 0.9676 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.8257, allocations: 39 kB / 0.9676 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.8257, allocations: 17.94 kB / 0.9676 GB, free: 10.62 MB / 0.7325 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.0002163/0.826, allocations: 175.9 kB / 0.9678 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.826, allocations: 43.44 kB / 0.9678 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000906/0.827, allocations: 462.9 kB / 0.9683 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.827, allocations: 7.312 kB / 0.9683 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.827, allocations: 1.281 kB / 0.9683 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.827, allocations: 3.984 kB / 0.9683 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.8285, allocations: 0.9584 MB / 0.9692 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8285, allocations: 5.531 kB / 0.9692 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.8287, allocations: 52.42 kB / 0.9693 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.829, allocations: 83.62 kB / 0.9694 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.829, allocations: 2.781 kB / 0.9694 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.829, allocations: 2.594 kB / 0.9694 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.829, allocations: 0 / 0.9694 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.8298, allocations: 0.5417 MB / 0.9699 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.83, allocations: 138.6 kB / 0.97 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.8301, allocations: 6.875 kB / 0.97 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.8303, allocations: 26.41 kB / 0.9701 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.8304, allocations: 29.66 kB / 0.9701 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.8304, allocations: 6.969 kB / 0.9701 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002416/0.8306, allocations: 233.5 kB / 0.9703 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8306, allocations: 0 / 0.9703 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004147/0.8311, allocations: 89.19 kB / 0.9704 GB, free: 8.645 MB / 0.7325 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.0001661/0.8312, allocations: 113.5 kB / 0.9705 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000901/0.8321, allocations: 0.6276 MB / 0.9711 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8322, allocations: 5.312 kB / 0.9711 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.8326, allocations: 436.2 kB / 0.9716 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/0.8333, allocations: 119.8 kB / 0.9717 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.8346, allocations: 0.872 MB / 0.9725 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.8351, allocations: 0.8266 MB / 0.9733 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000307/0.8354, allocations: 79.3 kB / 0.9734 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-05/0.8355, allocations: 27.66 kB / 0.9734 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.8355, allocations: 1.344 kB / 0.9734 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of Templates: time 0.01252/0.8481, allocations: 4.502 MB / 0.9778 GB, free: 3.637 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches