Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.004942/0.004942, allocations: 103 kB / 15.74 MB, free: 6.043 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.001375/0.001375, allocations: 194.3 kB / 16.67 MB, free: 5.965 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.61/2.61, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2757, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.5248/0.8006, allocations: 37.59 MB / 1.279 GB, free: 10.33 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02055/0.8212, allocations: 13.04 MB / 1.291 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.8245, allocations: 171.1 kB / 1.291 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008782/0.8333, allocations: 3.871 MB / 1.295 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.8401, allocations: 2.499 MB / 1.298 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006516/0.8466, allocations: 2.7 MB / 1.3 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01276/0.8594, allocations: 9.568 MB / 1.31 GB, free: 7.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01295/0.8724, allocations: 10.5 MB / 1.32 GB, free: 3.508 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00672/0.8791, allocations: 3.988 MB / 1.324 GB, free: 1.715 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007273/0.8864, allocations: 4.385 MB / 1.328 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.8879, allocations: 0.7709 MB / 1.329 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.8918, allocations: 1.785 MB / 1.331 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003239/0.8951, allocations: 3.032 MB / 1.334 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005365/0.9005, allocations: 3.585 MB / 1.337 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.9144, allocations: 11.89 MB / 1.349 GB, free: 4.312 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9145, allocations: 0 / 1.349 GB, free: 4.312 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9145, allocations: 0 / 1.349 GB, free: 4.312 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002452/0.9147, allocations: 5.062 kB / 1.349 GB, free: 4.309 MB / 1.045 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.01504/0.9298, allocations: 6.527 MB / 1.355 GB, free: 15.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.9298, allocations: 9.281 kB / 1.355 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001136/0.931, allocations: 0.7484 MB / 1.356 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007554/0.9385, allocations: 1.328 MB / 1.357 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/0.9447, allocations: 3.806 MB / 1.361 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.9449, allocations: 383.7 kB / 1.361 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007577/0.9457, allocations: 0.5036 MB / 1.362 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.9591, allocations: 8.885 MB / 1.37 GB, free: 4.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.9593, allocations: 27.77 kB / 1.37 GB, free: 4.062 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005973/0.9599, allocations: 223.9 kB / 1.371 GB, free: 3.844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00208/0.962, allocations: 0.6304 MB / 1.371 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.974, allocations: 7.014 MB / 1.378 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04866/1.023, allocations: 40.11 MB / 1.417 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/1.027, allocations: 2.902 MB / 1.42 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/1.03, allocations: 2.667 MB / 1.423 GB, free: 11.25 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/1.03, allocations: 26.09 kB / 1.423 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/1.03, allocations: 72.59 kB / 1.423 GB, free: 11.14 MB / 1.123 GB Notification: Performance of pre-optimization done (n=265): time 3.697e-06/1.03, allocations: 0 / 1.423 GB, free: 11.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=424): time 0.2791/1.31, allocations: 74.78 MB / 1.496 GB, free: 15.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/1.31, allocations: 94.73 kB / 1.496 GB, free: 15.6 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/1.313, allocations: 2.371 MB / 1.498 GB, free: 13.22 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/1.313, allocations: 101.7 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.315, allocations: 2.395 MB / 1.501 GB, free: 10.7 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.316, allocations: 1.51 MB / 1.502 GB, free: 9.18 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/1.317, allocations: 0.7217 MB / 1.503 GB, free: 8.445 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.317, allocations: 305.1 kB / 1.503 GB, free: 8.145 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/1.322, allocations: 2.999 MB / 1.506 GB, free: 5.137 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004874/1.327, allocations: 3.839 MB / 1.51 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009974/1.337, allocations: 7.384 MB / 1.517 GB, free: 9.258 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.337, allocations: 4 kB / 1.517 GB, free: 9.254 MB / 1.217 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02825/1.365, allocations: 12.58 MB / 1.529 GB, free: 12.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/1.365, allocations: 18.39 kB / 1.529 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.365, allocations: 24 kB / 1.529 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02227/1.387, allocations: 6.029 MB / 1.535 GB, free: 6.441 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.389, allocations: 495.2 kB / 1.536 GB, free: 5.957 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08763/1.477, allocations: 73.04 MB / 1.607 GB, free: 9.586 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.481, allocations: 219.8 kB / 1.607 GB, free: 9.371 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003865/1.481, allocations: 152 kB / 1.607 GB, free: 9.223 MB / 1.311 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.0034/1.485, allocations: 1.989 MB / 1.609 GB, free: 7.223 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008108/1.485, allocations: 413.5 kB / 1.61 GB, free: 6.816 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02745/1.513, allocations: 12.23 MB / 1.622 GB, free: 10.47 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.522e-05/1.513, allocations: 43.94 kB / 1.622 GB, free: 10.43 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.114e-05/1.513, allocations: 48 kB / 1.622 GB, free: 10.38 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/1.513, allocations: 23.92 kB / 1.622 GB, free: 10.36 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03763/1.551, allocations: 19.15 MB / 1.64 GB, free: 6.941 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/1.551, allocations: 8.938 kB / 1.64 GB, free: 6.934 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.552, allocations: 291.5 kB / 1.641 GB, free: 6.648 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01996/1.572, allocations: 5.577 MB / 1.646 GB, free: 1.008 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/1.573, allocations: 80.14 kB / 1.646 GB, free: 0.9297 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08401/1.657, allocations: 70.68 MB / 1.715 GB, free: 6.91 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/1.657, allocations: 11.94 kB / 1.715 GB, free: 6.898 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03038/1.687, allocations: 15.63 MB / 1.731 GB, free: 7.023 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.69, allocations: 1.061 MB / 1.732 GB, free: 5.941 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005686/1.69, allocations: 83.94 kB / 1.732 GB, free: 5.859 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/1.692, allocations: 215.7 kB / 1.732 GB, free: 5.648 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/1.694, allocations: 402.4 kB / 1.732 GB, free: 5.254 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/1.694, allocations: 107.9 kB / 1.732 GB, free: 5.148 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.002097/1.696, allocations: 1.556 MB / 1.734 GB, free: 3.594 MB / 1.436 GB Notification: Performance of sort global known variables: time 1.984e-06/1.696, allocations: 0 / 1.734 GB, free: 3.594 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.00502/1.701, allocations: 1.867 MB / 1.736 GB, free: 1.727 MB / 1.436 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.03006/1.731, allocations: 16.31 MB / 1.752 GB, free: 1.16 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.02079/1.752, allocations: 12.24 MB / 1.764 GB, free: 4.594 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.752, allocations: 4 kB / 1.764 GB, free: 4.59 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.01496/1.767, allocations: 8.383 MB / 1.772 GB, free: 11.89 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/1.773, allocations: 1.19 MB / 1.773 GB, free: 10.73 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09767/1.87, allocations: 54.05 MB / 1.826 GB, free: 3.125 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4796/2.35, allocations: 4.084 MB / 1.83 GB, free: 0.4916 GB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.002364/2.352, allocations: 0.67 MB / 1.83 GB, free: 0.4916 GB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/2.355, allocations: 2.126 MB / 1.832 GB, free: 0.4916 GB / 1.529 GB Notification: Performance of SimCode: time 8.21e-07/2.355, allocations: 0 / 1.832 GB, free: 0.4916 GB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 18.45/20.8, allocations: 150.9 MB / 1.98 GB, free: 423.8 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.79/46.59, allocations: 14.38 kB / 1.98 GB, free: 423.8 MB / 1.529 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches