Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008575, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005177/0.005177, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6003, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04152/0.6419, allocations: 39.87 MB / 0.9941 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02488/0.6668, allocations: 14.93 MB / 1.009 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00481/0.6716, allocations: 159.1 kB / 1.009 GB, free: 8.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.6752, allocations: 0.8606 MB / 1.01 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00895/0.6842, allocations: 2.64 MB / 1.012 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007027/0.6913, allocations: 2.715 MB / 1.015 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01779/0.7091, allocations: 16 MB / 1.031 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02453/0.7336, allocations: 15.78 MB / 1.046 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007048/0.7407, allocations: 3.532 MB / 1.049 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008603/0.7493, allocations: 4.761 MB / 1.054 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002255/0.7516, allocations: 396 kB / 1.054 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005346/0.757, allocations: 1.825 MB / 1.056 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005231/0.7622, allocations: 3.004 MB / 1.059 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.008348/0.7706, allocations: 3.512 MB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.019/0.7896, allocations: 13.6 MB / 1.076 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7897, allocations: 0 / 1.076 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7897, allocations: 0 / 1.076 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0005186/0.7902, allocations: 4 kB / 1.076 GB, free: 3.301 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01577/0.806, allocations: 6.146 MB / 1.082 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.806, allocations: 8.031 kB / 1.082 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002924/0.809, allocations: 0.8994 MB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.8199, allocations: 1.526 MB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.8302, allocations: 4.201 MB / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005459/0.8307, allocations: 452.5 kB / 1.089 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003237/0.834, allocations: 0.5978 MB / 1.089 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.8583, allocations: 10.69 MB / 1.1 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/0.8586, allocations: 27.72 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.8602, allocations: 263.9 kB / 1.1 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002983/0.8632, allocations: 0.7768 MB / 1.101 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.8819, allocations: 8.561 MB / 1.109 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06159/0.9435, allocations: 47 MB / 1.155 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005951/0.9495, allocations: 4.317 MB / 1.159 GB, free: 9.492 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00519/0.9547, allocations: 3.693 MB / 1.163 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.955, allocations: 34.78 kB / 1.163 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.9551, allocations: 77.34 kB / 1.163 GB, free: 5.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=353): time 5.35e-06/0.9551, allocations: 0 / 1.163 GB, free: 5.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=578): time 0.9713/1.926, allocations: 128.1 MB / 1.288 GB, free: 265.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/1.927, allocations: 110.9 kB / 1.288 GB, free: 265.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003856/1.93, allocations: 2.685 MB / 1.291 GB, free: 264.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/1.932, allocations: 125.2 kB / 1.291 GB, free: 264.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.933, allocations: 2.68 MB / 1.294 GB, free: 262.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002168/1.935, allocations: 1.945 MB / 1.295 GB, free: 260.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006399/1.936, allocations: 445.3 kB / 1.296 GB, free: 260.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.13e-05/1.936, allocations: 305.1 kB / 1.296 GB, free: 260.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/1.941, allocations: 4.079 MB / 1.3 GB, free: 257.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/1.946, allocations: 5.02 MB / 1.305 GB, free: 254.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.957, allocations: 9.851 MB / 1.315 GB, free: 248.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.957, allocations: 7.719 kB / 1.315 GB, free: 248.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03282/1.99, allocations: 16.99 MB / 1.331 GB, free: 235.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.99, allocations: 18.84 kB / 1.331 GB, free: 235.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/1.99, allocations: 27.94 kB / 1.331 GB, free: 235.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02837/2.018, allocations: 9.081 MB / 1.34 GB, free: 226.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/2.02, allocations: 0.5187 MB / 1.341 GB, free: 225.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08051/2.101, allocations: 70.71 MB / 1.41 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/2.106, allocations: 275.8 kB / 1.41 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000908/2.107, allocations: 192 kB / 1.41 GB, free: 153.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004458/2.111, allocations: 2.425 MB / 1.413 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.113, allocations: 470.5 kB / 1.413 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03298/2.146, allocations: 16.82 MB / 1.429 GB, free: 133.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/2.146, allocations: 52 kB / 1.43 GB, free: 133.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001238/2.146, allocations: 72 kB / 1.43 GB, free: 133.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.721e-05/2.146, allocations: 27.89 kB / 1.43 GB, free: 133.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04275/2.189, allocations: 25.7 MB / 1.455 GB, free: 107.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.571e-05/2.189, allocations: 8 kB / 1.455 GB, free: 107.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/2.19, allocations: 319.6 kB / 1.455 GB, free: 106.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0257/2.216, allocations: 8.269 MB / 1.463 GB, free: 98.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/2.217, allocations: 112 kB / 1.463 GB, free: 98.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.074/2.291, allocations: 67.58 MB / 1.529 GB, free: 29.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/2.291, allocations: 15.88 kB / 1.529 GB, free: 29.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03466/2.326, allocations: 21.57 MB / 1.55 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/2.328, allocations: 1.362 MB / 1.552 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007009/2.329, allocations: 104 kB / 1.552 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/2.332, allocations: 287.6 kB / 1.552 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/2.334, allocations: 0.526 MB / 1.553 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003152/2.334, allocations: 144 kB / 1.553 GB, free: 5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001867/2.336, allocations: 1.772 MB / 1.554 GB, free: 3.238 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/2.336, allocations: 0 / 1.554 GB, free: 3.238 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005953/2.342, allocations: 2.467 MB / 1.557 GB, free: 0.7734 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03972/2.381, allocations: 22.26 MB / 1.579 GB, free: 10.15 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02471/2.406, allocations: 14.53 MB / 1.593 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/2.406, allocations: 4 kB / 1.593 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.01685/2.423, allocations: 9.387 MB / 1.602 GB, free: 1.883 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009173/2.432, allocations: 1.287 MB / 1.603 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1423/2.575, allocations: 82.84 MB / 1.684 GB, free: 9.336 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006592/2.581, allocations: 4.892 MB / 1.689 GB, free: 4.402 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002867/2.584, allocations: 0.7449 MB / 1.69 GB, free: 3.652 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/2.587, allocations: 2.612 MB / 1.692 GB, free: 1.039 MB / 1.154 GB Notification: Performance of SimCode: time 7.32e-07/2.587, allocations: 4 kB / 1.692 GB, free: 1.035 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.719/8.306, allocations: 187.3 MB / 1.875 GB, free: 240.2 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/8.307, allocations: 250.1 kB / 1.875 GB, free: 240 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.053/14.36, allocations: 0 / 1.875 GB, free: 240 MB / 1.154 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches