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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007709/0.007709, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.001715/0.001715, allocations: 195.6 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 75.81 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2786, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03892/0.3175, allocations: 37.59 MB / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6108/0.9284, allocations: 13.02 MB / 1.257 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004157/0.9326, allocations: 172.3 kB / 1.257 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009044/0.9417, allocations: 3.891 MB / 1.261 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006994/0.9487, allocations: 2.49 MB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006889/0.9557, allocations: 2.698 MB / 1.266 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01401/0.9697, allocations: 9.576 MB / 1.275 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01456/0.9843, allocations: 10.51 MB / 1.285 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008691/0.993, allocations: 4.076 MB / 1.289 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00882/1.002, allocations: 4.37 MB / 1.294 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003176/1.005, allocations: 0.7749 MB / 1.294 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006631/1.012, allocations: 1.783 MB / 1.296 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006189/1.018, allocations: 3.028 MB / 1.299 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009935/1.028, allocations: 3.597 MB / 1.303 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0192/1.047, allocations: 11.85 MB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.047, allocations: 1.125 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/1.047, allocations: 0 / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004107/1.048, allocations: 0 / 1.314 GB, free: 10.91 MB / 1.014 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.02335/1.071, allocations: 6.365 MB / 1.32 GB, free: 6.797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.071, allocations: 9.281 kB / 1.32 GB, free: 6.797 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003094/1.074, allocations: 0.7509 MB / 1.321 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.084, allocations: 1.297 MB / 1.322 GB, free: 5.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.095, allocations: 3.792 MB / 1.326 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004721/1.095, allocations: 383.5 kB / 1.326 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002435/1.098, allocations: 0.4986 MB / 1.327 GB, free: 2.895 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/1.12, allocations: 8.887 MB / 1.336 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/1.12, allocations: 26.25 kB / 1.336 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/1.122, allocations: 221.1 kB / 1.336 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002309/1.125, allocations: 0.6304 MB / 1.336 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/1.14, allocations: 7.012 MB / 1.343 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05524/1.195, allocations: 40.06 MB / 1.382 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/1.2, allocations: 2.895 MB / 1.385 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/1.204, allocations: 2.659 MB / 1.388 GB, free: 9.504 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/1.204, allocations: 27.58 kB / 1.388 GB, free: 9.477 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/1.204, allocations: 72.58 kB / 1.388 GB, free: 9.395 MB / 1.076 GB Notification: Performance of pre-optimization done (n=265): time 4.668e-06/1.204, allocations: 0 / 1.388 GB, free: 9.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=424): time 0.3052/1.51, allocations: 74.67 MB / 1.461 GB, free: 14.12 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/1.51, allocations: 94.73 kB / 1.461 GB, free: 14.02 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/1.513, allocations: 2.363 MB / 1.463 GB, free: 11.64 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0009071/1.514, allocations: 97.7 kB / 1.463 GB, free: 11.54 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/1.516, allocations: 2.332 MB / 1.466 GB, free: 9.191 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/1.518, allocations: 1.447 MB / 1.467 GB, free: 7.754 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/1.52, allocations: 0.7215 MB / 1.468 GB, free: 7.02 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/1.52, allocations: 305.1 kB / 1.468 GB, free: 6.719 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00452/1.525, allocations: 2.999 MB / 1.471 GB, free: 3.711 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/1.53, allocations: 3.846 MB / 1.475 GB, free: 15.54 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.541, allocations: 7.378 MB / 1.482 GB, free: 7.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/1.541, allocations: 8 kB / 1.482 GB, free: 7.832 MB / 1.17 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02999/1.571, allocations: 12.56 MB / 1.494 GB, free: 11.17 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/1.571, allocations: 12 kB / 1.494 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-05/1.572, allocations: 24 kB / 1.494 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02285/1.594, allocations: 6.021 MB / 1.5 GB, free: 5.047 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/1.597, allocations: 499.2 kB / 1.501 GB, free: 4.559 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08623/1.683, allocations: 72.99 MB / 1.572 GB, free: 8.262 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004839/1.688, allocations: 215.8 kB / 1.572 GB, free: 8.051 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.689, allocations: 152 kB / 1.572 GB, free: 7.902 MB / 1.264 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.004914/1.694, allocations: 1.992 MB / 1.574 GB, free: 5.898 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.695, allocations: 391.4 kB / 1.575 GB, free: 5.512 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02923/1.724, allocations: 12.23 MB / 1.587 GB, free: 9.164 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-05/1.725, allocations: 40 kB / 1.587 GB, free: 9.125 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002099/1.725, allocations: 51.94 kB / 1.587 GB, free: 9.074 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/1.725, allocations: 27.86 kB / 1.587 GB, free: 9.047 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04726/1.772, allocations: 19.14 MB / 1.605 GB, free: 5.711 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/1.772, allocations: 8 kB / 1.605 GB, free: 5.703 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.774, allocations: 291.5 kB / 1.606 GB, free: 5.418 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02059/1.795, allocations: 5.578 MB / 1.611 GB, free: 15.78 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/1.796, allocations: 80 kB / 1.611 GB, free: 15.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0809/1.877, allocations: 70.62 MB / 1.68 GB, free: 5.785 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.877, allocations: 11.94 kB / 1.68 GB, free: 5.773 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03329/1.91, allocations: 15.61 MB / 1.695 GB, free: 5.93 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003602/1.914, allocations: 1.039 MB / 1.696 GB, free: 4.867 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/1.915, allocations: 83.98 kB / 1.696 GB, free: 4.785 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003657/1.919, allocations: 215.7 kB / 1.697 GB, free: 4.574 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/1.921, allocations: 406.2 kB / 1.697 GB, free: 4.176 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007086/1.921, allocations: 108 kB / 1.697 GB, free: 4.07 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.003148/1.925, allocations: 1.556 MB / 1.699 GB, free: 2.516 MB / 1.389 GB Notification: Performance of sort global known variables: time 1.553e-06/1.925, allocations: 4 kB / 1.699 GB, free: 2.512 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.008401/1.933, allocations: 1.867 MB / 1.701 GB, free: 0.6445 MB / 1.389 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.03362/1.967, allocations: 16.28 MB / 1.716 GB, free: 116 kB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.02174/1.988, allocations: 12.21 MB / 1.728 GB, free: 3.586 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.988, allocations: 8.312 kB / 1.728 GB, free: 3.578 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.01558/2.004, allocations: 8.356 MB / 1.736 GB, free: 10.91 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007705/2.012, allocations: 1.189 MB / 1.738 GB, free: 9.754 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/2.123, allocations: 53.86 MB / 1.79 GB, free: 2.383 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007232/2.131, allocations: 4.087 MB / 1.794 GB, free: 14.26 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.003192/2.134, allocations: 0.6708 MB / 1.795 GB, free: 13.58 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/2.137, allocations: 2.128 MB / 1.797 GB, free: 11.45 MB / 1.498 GB Notification: Performance of SimCode: time 1.322e-06/2.137, allocations: 0 / 1.797 GB, free: 11.45 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8318/2.969, allocations: 153.7 MB / 1.947 GB, free: 430.7 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/20.46, allocations: 3.953 kB / 1.947 GB, free: 430.7 MB / 1.498 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=50 --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