Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, 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.001749/0.001749, allocations: 190 kB / 16.13 MB, free: 6.645 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.66/1.66, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.781/2.781, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8467, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005443/0.8522, allocations: 4.882 MB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.8561, allocations: 2.466 MB / 0.9561 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.8564, allocations: 22.38 kB / 0.9561 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009206/0.8574, allocations: 357.2 kB / 0.9565 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007728/0.8581, allocations: 418.4 kB / 0.9569 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.8589, allocations: 345 kB / 0.9572 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.86, allocations: 1.127 MB / 0.9583 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.8605, allocations: 350.1 kB / 0.9586 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.8609, allocations: 305.2 kB / 0.9589 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.8613, allocations: 343.2 kB / 0.9592 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.8614, allocations: 30.28 kB / 0.9593 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.8622, allocations: 0.4964 MB / 0.9598 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.8624, allocations: 167.6 kB / 0.9599 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.8627, allocations: 306.1 kB / 0.9602 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008481/0.8635, allocations: 0.8871 MB / 0.9611 GB, free: 256 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8635, allocations: 0 / 0.9611 GB, free: 256 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8635, allocations: 0 / 0.9611 GB, free: 256 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.8635, allocations: 1.375 kB / 0.9611 GB, free: 256 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001374/0.8649, allocations: 0.9372 MB / 0.962 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.865, allocations: 8.938 kB / 0.962 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.8662, allocations: 212.9 kB / 0.9622 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.8669, allocations: 489.6 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.867, allocations: 34.23 kB / 0.9627 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.8671, allocations: 46.17 kB / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.8682, allocations: 0.8518 MB / 0.9636 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.8682, allocations: 10.33 kB / 0.9636 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.8683, allocations: 24.06 kB / 0.9636 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.8684, allocations: 63.28 kB / 0.9637 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.8693, allocations: 0.5708 MB / 0.9642 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.8738, allocations: 5.644 MB / 0.9697 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.8745, allocations: 458.3 kB / 0.9702 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.8748, allocations: 228 kB / 0.9704 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.8749, allocations: 3.406 kB / 0.9704 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.8749, allocations: 36.84 kB / 0.9704 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.8749, allocations: 0 / 0.9704 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002567/0.8775, allocations: 1.508 MB / 0.9719 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.8775, allocations: 55.78 kB / 0.972 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.8781, allocations: 0.4961 MB / 0.9724 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.8781, allocations: 31.05 kB / 0.9725 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.8784, allocations: 355.3 kB / 0.9728 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.8785, allocations: 118.7 kB / 0.9729 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.8787, allocations: 114.7 kB / 0.973 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8789, allocations: 364 kB / 0.9734 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.8792, allocations: 194.4 kB / 0.9736 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.8797, allocations: 448.9 kB / 0.974 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009714/0.8807, allocations: 0.692 MB / 0.9747 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8807, allocations: 3.125 kB / 0.9747 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001606/0.8824, allocations: 0.8001 MB / 0.9755 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.8824, allocations: 8.531 kB / 0.9755 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.8824, allocations: 12.91 kB / 0.9755 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.883, allocations: 160.9 kB / 0.9756 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.8836, allocations: 123 kB / 0.9757 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.8883, allocations: 4.036 MB / 0.9797 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.889, allocations: 32.94 kB / 0.9797 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.8891, allocations: 27.81 kB / 0.9797 GB, free: 15.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003559/0.8894, allocations: 218.3 kB / 0.98 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.8895, allocations: 61.09 kB / 0.98 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.8907, allocations: 0.5944 MB / 0.9806 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8907, allocations: 3.656 kB / 0.9806 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8907, allocations: 5.312 kB / 0.9806 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.8907, allocations: 15.86 kB / 0.9806 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.8929, allocations: 1.258 MB / 0.9818 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.8929, allocations: 2.5 kB / 0.9818 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.8932, allocations: 50.45 kB / 0.9819 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.8936, allocations: 149.1 kB / 0.982 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.8936, allocations: 6.344 kB / 0.982 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.8969, allocations: 4.017 MB / 0.986 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8969, allocations: 3.938 kB / 0.986 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.898, allocations: 0.704 MB / 0.9867 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.8982, allocations: 176.2 kB / 0.9868 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.8983, allocations: 11.94 kB / 0.9868 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.8986, allocations: 27.91 kB / 0.9869 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.8987, allocations: 23.97 kB / 0.9869 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.8987, allocations: 8 kB / 0.9869 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003817/0.8991, allocations: 338.8 kB / 0.9872 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8991, allocations: 0 / 0.9872 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008714/0.9, allocations: 144 kB / 0.9874 GB, free: 8.656 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001865/0.9001, allocations: 111.2 kB / 0.9875 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.9016, allocations: 1.034 MB / 0.9885 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9016, allocations: 0 / 0.9885 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.9024, allocations: 0.7269 MB / 0.9892 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.9034, allocations: 191.9 kB / 0.9894 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.9051, allocations: 1.263 MB / 0.9906 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.9056, allocations: 0.9097 MB / 0.9915 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.9059, allocations: 117.3 kB / 0.9916 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.906, allocations: 39.42 kB / 0.9916 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/0.906, allocations: 0 / 0.9916 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of Templates: time 0.01347/0.9195, allocations: 7.336 MB / 0.9988 GB, free: 12.78 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches