Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.00566/0.00566, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001357/0.001357, allocations: 198.1 kB / 16.68 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.134/2.134, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6304, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009341/0.6398, allocations: 10.01 MB / 1.097 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.6447, allocations: 3.048 MB / 1.1 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.6451, allocations: 37.72 kB / 1.1 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.6468, allocations: 0.6872 MB / 1.101 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.6481, allocations: 0.6923 MB / 1.102 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.6495, allocations: 0.6386 MB / 1.102 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003272/0.6528, allocations: 2.735 MB / 1.105 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.6555, allocations: 2.537 MB / 1.107 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.6575, allocations: 1.124 MB / 1.108 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.6595, allocations: 1.378 MB / 1.11 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.6599, allocations: 217.6 kB / 1.11 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.6611, allocations: 492.3 kB / 1.111 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.6622, allocations: 0.979 MB / 1.111 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.6633, allocations: 1.018 MB / 1.112 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.6667, allocations: 3.403 MB / 1.116 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6667, allocations: 0 / 1.116 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6667, allocations: 0 / 1.116 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.14e-05/0.6668, allocations: 1.219 kB / 1.116 GB, free: 5.852 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003421/0.6702, allocations: 1.952 MB / 1.118 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6702, allocations: 10.17 kB / 1.118 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000309/0.6706, allocations: 248.8 kB / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005493/0.6761, allocations: 0.8811 MB / 1.119 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.6782, allocations: 1.168 MB / 1.12 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.6782, allocations: 113.6 kB / 1.12 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.6785, allocations: 138.6 kB / 1.12 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004338/0.6829, allocations: 3.025 MB / 1.123 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.475e-05/0.6829, allocations: 7.641 kB / 1.123 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.6831, allocations: 61.95 kB / 1.123 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/0.6834, allocations: 176.5 kB / 1.123 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.6873, allocations: 2.604 MB / 1.126 GB, free: 1.523 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.7034, allocations: 13.49 MB / 1.139 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.7054, allocations: 1.292 MB / 1.14 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.7068, allocations: 1.051 MB / 1.141 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.7068, allocations: 8.844 kB / 1.141 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.7069, allocations: 47.36 kB / 1.141 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/0.7069, allocations: 0 / 1.141 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139): time 0.07154/0.7784, allocations: 19.39 MB / 1.16 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.7785, allocations: 66.28 kB / 1.16 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.7796, allocations: 0.926 MB / 1.161 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.7798, allocations: 45.64 kB / 1.161 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.7802, allocations: 0.7268 MB / 1.162 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.7806, allocations: 493.3 kB / 1.163 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/0.7811, allocations: 288.5 kB / 1.163 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7812, allocations: 353.8 kB / 1.163 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.7829, allocations: 1.335 MB / 1.164 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.7847, allocations: 1.657 MB / 1.166 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/0.7884, allocations: 3.093 MB / 1.169 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.7884, allocations: 4 kB / 1.169 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01059/0.799, allocations: 5.636 MB / 1.175 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.799, allocations: 18.59 kB / 1.175 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.799, allocations: 8.656 kB / 1.175 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00794/0.807, allocations: 2.714 MB / 1.177 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.8076, allocations: 191.7 kB / 1.177 GB, free: 372 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03193/0.8396, allocations: 25.71 MB / 1.203 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.8409, allocations: 91.95 kB / 1.203 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.8411, allocations: 56 kB / 1.203 GB, free: 5.941 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.8422, allocations: 0.7392 MB / 1.203 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.8424, allocations: 118.6 kB / 1.204 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.8528, allocations: 5.384 MB / 1.209 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.8529, allocations: 12 kB / 1.209 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.8529, allocations: 20 kB / 1.209 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.8529, allocations: 7.969 kB / 1.209 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.8673, allocations: 8.697 MB / 1.217 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.8673, allocations: 4 kB / 1.217 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.8678, allocations: 115.8 kB / 1.217 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007777/0.8755, allocations: 2.607 MB / 1.22 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.8757, allocations: 24 kB / 1.22 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03057/0.9062, allocations: 24.15 MB / 1.244 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.9063, allocations: 4 kB / 1.244 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009938/0.9162, allocations: 5.252 MB / 1.249 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/0.9172, allocations: 487.6 kB / 1.249 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.9174, allocations: 27.98 kB / 1.249 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.9182, allocations: 75.91 kB / 1.249 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.9186, allocations: 129 kB / 1.249 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.9187, allocations: 36 kB / 1.249 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007283/0.9195, allocations: 0.6434 MB / 1.25 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9195, allocations: 0 / 1.25 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002194/0.9217, allocations: 0.7227 MB / 1.251 GB, free: 3.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/0.9318, allocations: 5.835 MB / 1.257 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006197/0.938, allocations: 4.206 MB / 1.261 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9381, allocations: 0 / 1.261 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004658/0.9427, allocations: 2.705 MB / 1.263 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.9439, allocations: 212.5 kB / 1.263 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03247/0.9764, allocations: 21.42 MB / 1.284 GB, free: 0.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.9778, allocations: 1.708 MB / 1.286 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006213/0.9784, allocations: 321.5 kB / 1.286 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.979, allocations: 0.5344 MB / 1.287 GB, free: 14.24 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.979, allocations: 0 / 1.287 GB, free: 14.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.234/4.213, allocations: 52.7 MB / 1.338 GB, free: 9.879 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/17.04, allocations: 4.062 kB / 1.338 GB, free: 9.875 MB / 1.076 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches