Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.005419/0.005419, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001425/0.001425, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437.1 MB / 0.7106 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 71.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2451, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03931/0.2845, allocations: 37.59 MB / 1.203 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.3039, allocations: 13.04 MB / 1.216 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.3068, allocations: 171.1 kB / 1.216 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00865/0.3155, allocations: 3.884 MB / 1.22 GB, free: 468 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005769/0.3213, allocations: 2.491 MB / 1.222 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005683/0.327, allocations: 2.716 MB / 1.225 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01049/0.3375, allocations: 9.567 MB / 1.234 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.3486, allocations: 10.5 MB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.3536, allocations: 4.007 MB / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4889/0.8425, allocations: 4.367 MB / 1.252 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.8446, allocations: 0.7706 MB / 1.253 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.8483, allocations: 1.782 MB / 1.255 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003054/0.8513, allocations: 3.034 MB / 1.258 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004729/0.8561, allocations: 3.58 MB / 1.261 GB, free: 24.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.8694, allocations: 11.89 MB / 1.273 GB, free: 23.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8695, allocations: 0.6562 kB / 1.273 GB, free: 23.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8695, allocations: 1.188 kB / 1.273 GB, free: 23.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002647/0.8697, allocations: 0 / 1.273 GB, free: 23.52 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0145/0.8843, allocations: 6.521 MB / 1.279 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.8843, allocations: 9.625 kB / 1.279 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001065/0.8854, allocations: 0.7516 MB / 1.28 GB, free: 20.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007486/0.8929, allocations: 1.332 MB / 1.281 GB, free: 20.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/0.8989, allocations: 3.81 MB / 1.285 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.8991, allocations: 381.8 kB / 1.286 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008/0.8999, allocations: 0.5018 MB / 1.286 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.9121, allocations: 8.885 MB / 1.295 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.9122, allocations: 29.42 kB / 1.295 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005659/0.9128, allocations: 220 kB / 1.295 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/0.9148, allocations: 0.6291 MB / 1.296 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009477/0.9242, allocations: 7.014 MB / 1.302 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/0.9615, allocations: 40.12 MB / 1.342 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/0.9649, allocations: 2.896 MB / 1.344 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/0.9678, allocations: 2.658 MB / 1.347 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.968, allocations: 33.97 kB / 1.347 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.9681, allocations: 70.62 kB / 1.347 GB, free: 10.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=265): time 3.888e-06/0.9681, allocations: 0 / 1.347 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=424): time 0.2722/1.24, allocations: 74.78 MB / 1.42 GB, free: 8.727 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/1.24, allocations: 94.73 kB / 1.42 GB, free: 8.621 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/1.243, allocations: 2.363 MB / 1.423 GB, free: 6.25 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/1.244, allocations: 97.7 kB / 1.423 GB, free: 6.148 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.245, allocations: 2.393 MB / 1.425 GB, free: 3.746 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.246, allocations: 1.514 MB / 1.426 GB, free: 2.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/1.248, allocations: 0.7217 MB / 1.427 GB, free: 1.516 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.248, allocations: 305.1 kB / 1.427 GB, free: 1.215 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004085/1.252, allocations: 2.995 MB / 1.43 GB, free: 14.21 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004731/1.257, allocations: 3.843 MB / 1.434 GB, free: 10.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009499/1.266, allocations: 7.381 MB / 1.441 GB, free: 2.434 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.266, allocations: 8 kB / 1.441 GB, free: 2.426 MB / 1.107 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02651/1.293, allocations: 12.58 MB / 1.454 GB, free: 6.055 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.293, allocations: 20.06 kB / 1.454 GB, free: 6.035 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/1.293, allocations: 24 kB / 1.454 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02101/1.314, allocations: 6.021 MB / 1.46 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/1.316, allocations: 492.5 kB / 1.46 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08459/1.4, allocations: 73.06 MB / 1.531 GB, free: 3.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/1.404, allocations: 219.8 kB / 1.532 GB, free: 3.215 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/1.404, allocations: 152 kB / 1.532 GB, free: 3.066 MB / 1.201 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003403/1.408, allocations: 1.99 MB / 1.534 GB, free: 1.098 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006194/1.408, allocations: 409.5 kB / 1.534 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02639/1.435, allocations: 12.23 MB / 1.546 GB, free: 4.531 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/1.435, allocations: 43.94 kB / 1.546 GB, free: 4.488 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-05/1.435, allocations: 55.94 kB / 1.546 GB, free: 4.434 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/1.435, allocations: 19.92 kB / 1.546 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03523/1.47, allocations: 19.15 MB / 1.565 GB, free: 1.293 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.47, allocations: 8.031 kB / 1.565 GB, free: 1.285 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.471, allocations: 291.9 kB / 1.565 GB, free: 1.016 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01921/1.491, allocations: 5.581 MB / 1.571 GB, free: 11.39 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002891/1.491, allocations: 80 kB / 1.571 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08055/1.571, allocations: 70.66 MB / 1.64 GB, free: 1.609 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/1.571, allocations: 8 kB / 1.64 GB, free: 1.602 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02877/1.6, allocations: 15.63 MB / 1.655 GB, free: 1.934 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.602, allocations: 1.072 MB / 1.656 GB, free: 0.8398 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/1.603, allocations: 83.98 kB / 1.656 GB, free: 0.7578 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.605, allocations: 211.7 kB / 1.656 GB, free: 0.5508 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.606, allocations: 404 kB / 1.657 GB, free: 168 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/1.606, allocations: 115.9 kB / 1.657 GB, free: 52 kB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002048/1.608, allocations: 1.56 MB / 1.658 GB, free: 14.5 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.11e-07/1.608, allocations: 0 / 1.658 GB, free: 14.5 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004598/1.613, allocations: 1.863 MB / 1.66 GB, free: 12.63 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02862/1.642, allocations: 16.31 MB / 1.676 GB, free: 12.29 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.01896/1.661, allocations: 12.24 MB / 1.688 GB, free: 15.86 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.661, allocations: 4 kB / 1.688 GB, free: 15.86 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.01312/1.674, allocations: 8.385 MB / 1.696 GB, free: 7.215 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/1.678, allocations: 1.193 MB / 1.697 GB, free: 6.051 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08986/1.768, allocations: 54.06 MB / 1.75 GB, free: 14.96 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004435/1.772, allocations: 4.091 MB / 1.754 GB, free: 10.84 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.001911/1.774, allocations: 0.6708 MB / 1.755 GB, free: 10.16 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/1.777, allocations: 2.128 MB / 1.757 GB, free: 8.031 MB / 1.436 GB Notification: Performance of SimCode: time 4.11e-07/1.777, allocations: 0 / 1.757 GB, free: 8.031 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 17.12/18.89, allocations: 150.9 MB / 1.904 GB, free: 462.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.72/43.62, allocations: 18.53 kB / 1.904 GB, free: 462.7 MB / 1.467 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches