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.001675/0.001675, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002372/0.002372, allocations: 188 kB / 16.25 MB, free: 6.633 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.435/2.435, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8419, allocations: 140.4 MB / 0.9491 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004858/0.8469, allocations: 3.784 MB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.8496, allocations: 1.787 MB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.8499, allocations: 13.03 kB / 0.9546 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.8508, allocations: 239.6 kB / 0.9548 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.8514, allocations: 274.8 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.8519, allocations: 225.7 kB / 0.9553 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.8525, allocations: 0.6037 MB / 0.9559 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.853, allocations: 288.1 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.8533, allocations: 244.2 kB / 0.9564 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.8536, allocations: 238.5 kB / 0.9566 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.8537, allocations: 26.19 kB / 0.9566 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.8541, allocations: 275.2 kB / 0.9569 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.8543, allocations: 122.1 kB / 0.957 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.8545, allocations: 213 kB / 0.9572 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.8552, allocations: 0.5974 MB / 0.9578 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8552, allocations: 0 / 0.9578 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8552, allocations: 1.281 kB / 0.9578 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8552, allocations: 0 / 0.9578 GB, free: 2.957 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.001164/0.8564, allocations: 0.7431 MB / 0.9585 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.8564, allocations: 9.75 kB / 0.9585 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009369/0.8574, allocations: 134.2 kB / 0.9586 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.8579, allocations: 374.3 kB / 0.959 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.8579, allocations: 28.98 kB / 0.959 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.858, allocations: 28.06 kB / 0.9591 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.8591, allocations: 0.5515 MB / 0.9596 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.8591, allocations: 10.77 kB / 0.9596 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.8592, allocations: 13.19 kB / 0.9596 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.8593, allocations: 41.03 kB / 0.9597 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008695/0.8602, allocations: 413.1 kB / 0.9601 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.8636, allocations: 3.329 MB / 0.9633 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.8644, allocations: 336.8 kB / 0.9636 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.8647, allocations: 182.3 kB / 0.9638 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.8648, allocations: 2.5 kB / 0.9638 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.8648, allocations: 35.62 kB / 0.9638 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.295e-06/0.8648, allocations: 0 / 0.9638 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002224/0.867, allocations: 1.072 MB / 0.9649 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.8671, allocations: 54.7 kB / 0.9649 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.8675, allocations: 343.3 kB / 0.9653 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.8675, allocations: 30.83 kB / 0.9653 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.8677, allocations: 242 kB / 0.9655 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.8678, allocations: 95.06 kB / 0.9656 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.8679, allocations: 80.28 kB / 0.9657 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.868, allocations: 348.1 kB / 0.966 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.8683, allocations: 145.2 kB / 0.9662 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.8687, allocations: 299.2 kB / 0.9664 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.8694, allocations: 478.3 kB / 0.9669 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8694, allocations: 2.219 kB / 0.9669 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001054/0.8705, allocations: 0.5648 MB / 0.9675 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.8706, allocations: 10.08 kB / 0.9675 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.8706, allocations: 6.094 kB / 0.9675 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.8709, allocations: 84.64 kB / 0.9675 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.8713, allocations: 89 kB / 0.9676 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.8713, allocations: 10.25 kB / 0.9676 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.8716, allocations: 38.84 kB / 0.9677 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.8716, allocations: 18.66 kB / 0.9677 GB, free: 10.84 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.0002164/0.8719, allocations: 171 kB / 0.9679 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.872, allocations: 39.19 kB / 0.9679 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009819/0.8729, allocations: 466.9 kB / 0.9683 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.873, allocations: 3.094 kB / 0.9683 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.873, allocations: 1.094 kB / 0.9683 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.873, allocations: 5.109 kB / 0.9684 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.8746, allocations: 0.9587 MB / 0.9693 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8746, allocations: 1.438 kB / 0.9693 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.8749, allocations: 55.05 kB / 0.9693 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.8751, allocations: 80.34 kB / 0.9694 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.8752, allocations: 6.625 kB / 0.9694 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.8752, allocations: 6.719 kB / 0.9694 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8752, allocations: 9.281 kB / 0.9694 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.8761, allocations: 0.5451 MB / 0.97 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.8762, allocations: 137.7 kB / 0.9701 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.8763, allocations: 6.406 kB / 0.9701 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.8765, allocations: 26.59 kB / 0.9701 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.8766, allocations: 26.72 kB / 0.9702 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.8767, allocations: 5.469 kB / 0.9702 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002684/0.8769, allocations: 234.7 kB / 0.9704 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8769, allocations: 4 kB / 0.9704 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004615/0.8774, allocations: 83.88 kB / 0.9705 GB, free: 8.867 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.0001696/0.8776, allocations: 111.7 kB / 0.9706 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.8787, allocations: 0.6628 MB / 0.9712 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.8787, allocations: 0 / 0.9712 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.8792, allocations: 432.4 kB / 0.9716 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.8799, allocations: 121.1 kB / 0.9718 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.8813, allocations: 0.8885 MB / 0.9726 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.8817, allocations: 0.8224 MB / 0.9734 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.882, allocations: 78.41 kB / 0.9735 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.8821, allocations: 29.41 kB / 0.9735 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of SimCode: time 2.184e-06/0.8821, allocations: 7.938 kB / 0.9735 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of Templates: time 0.0103/0.8924, allocations: 4.696 MB / 0.9781 GB, free: 3.492 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