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.001605/0.001605, allocations: 103.7 kB / 16.4 MB, free: 5.977 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.001865/0.001865, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.422/2.422, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8007, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005803/0.8066, allocations: 4.862 MB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.8106, allocations: 2.451 MB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.8111, allocations: 24.03 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.8123, allocations: 402.6 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.8134, allocations: 439.9 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009874/0.8144, allocations: 377.4 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.8159, allocations: 0.9156 MB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/0.8165, allocations: 349.7 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.8171, allocations: 345.7 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.8176, allocations: 344 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.8177, allocations: 38.81 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000919/0.8186, allocations: 396.2 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.8189, allocations: 190.2 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.8192, allocations: 321.3 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.8206, allocations: 0.8841 MB / 1.101 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8206, allocations: 0.9688 kB / 1.101 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8206, allocations: 0 / 1.101 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.8206, allocations: 0 / 1.101 GB, free: 14.43 MB / 0.8731 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.001571/0.8222, allocations: 0.938 MB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8223, allocations: 10.42 kB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.8236, allocations: 201.4 kB / 1.102 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.8245, allocations: 0.5305 MB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.8245, allocations: 30.59 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/0.8246, allocations: 50.22 kB / 1.102 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8259, allocations: 0.8479 MB / 1.103 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.8259, allocations: 16.3 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.826, allocations: 23.92 kB / 1.103 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.8262, allocations: 62.38 kB / 1.103 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.8272, allocations: 0.5675 MB / 1.104 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.8316, allocations: 5.642 MB / 1.109 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.8323, allocations: 455.1 kB / 1.11 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.8327, allocations: 232.1 kB / 1.11 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.8327, allocations: 4.062 kB / 1.11 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.8327, allocations: 39.69 kB / 1.11 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.995e-06/0.8328, allocations: 0 / 1.11 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.00273/0.8355, allocations: 1.501 MB / 1.111 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.8355, allocations: 54.78 kB / 1.112 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.8361, allocations: 0.4926 MB / 1.112 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.8362, allocations: 31.77 kB / 1.112 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.8365, allocations: 356.9 kB / 1.112 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.8366, allocations: 113.3 kB / 1.112 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.8367, allocations: 115.5 kB / 1.113 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.8369, allocations: 366.2 kB / 1.113 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.8372, allocations: 196.2 kB / 1.113 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.8377, allocations: 451.5 kB / 1.114 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.8386, allocations: 0.6877 MB / 1.114 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.8386, allocations: 2.562 kB / 1.114 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00129/0.8399, allocations: 0.8116 MB / 1.115 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.8399, allocations: 9.906 kB / 1.115 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.84, allocations: 13 kB / 1.115 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.8405, allocations: 160.3 kB / 1.115 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.8409, allocations: 117.3 kB / 1.115 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.8448, allocations: 4.346 MB / 1.12 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.8453, allocations: 37.11 kB / 1.12 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.8454, allocations: 28.56 kB / 1.12 GB, free: 15.28 MB / 0.8887 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.0003142/0.8457, allocations: 216.2 kB / 1.12 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.8458, allocations: 60.47 kB / 1.12 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.8469, allocations: 0.5958 MB / 1.12 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.8469, allocations: 3.062 kB / 1.12 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8469, allocations: 9.438 kB / 1.12 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.8469, allocations: 7.25 kB / 1.12 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.8488, allocations: 1.254 MB / 1.122 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8488, allocations: 2.156 kB / 1.122 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.8491, allocations: 49.95 kB / 1.122 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.8495, allocations: 147.7 kB / 1.122 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.8496, allocations: 12.12 kB / 1.122 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.8528, allocations: 4.337 MB / 1.126 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.8529, allocations: 2.438 kB / 1.126 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.8541, allocations: 0.7255 MB / 1.127 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.8544, allocations: 166.3 kB / 1.127 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.8545, allocations: 9.438 kB / 1.127 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.8548, allocations: 21.72 kB / 1.127 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.8549, allocations: 36.12 kB / 1.127 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.8549, allocations: 11.53 kB / 1.127 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004408/0.8553, allocations: 329.4 kB / 1.127 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.8554, allocations: 1.156 kB / 1.127 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007798/0.8561, allocations: 142 kB / 1.128 GB, free: 8.965 MB / 0.8887 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.0001608/0.8563, allocations: 113.9 kB / 1.128 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.8579, allocations: 1.038 MB / 1.129 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8579, allocations: 1.125 kB / 1.129 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008899/0.8588, allocations: 0.7394 MB / 1.129 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.8599, allocations: 199.6 kB / 1.13 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.8618, allocations: 1.074 MB / 1.131 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.8625, allocations: 0.9066 MB / 1.131 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.8626, allocations: 42.47 kB / 1.132 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of SimCode: time 7.31e-07/0.8626, allocations: 1.375 kB / 1.132 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of Templates: time 0.02743/0.89, allocations: 18.04 MB / 1.149 GB, free: 1.102 MB / 0.8887 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/jenkins1/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