Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_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_10_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.001241/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001598/0.001598, allocations: 192.7 kB / 16.14 MB, free: 6.719 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.555, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01138/0.5664, allocations: 9.992 MB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004747/0.5712, allocations: 3.053 MB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.5718, allocations: 35.81 kB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.5736, allocations: 0.6281 MB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.5749, allocations: 0.6498 MB / 1.031 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.5762, allocations: 0.5861 MB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00324/0.5794, allocations: 4.064 MB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.5827, allocations: 2.819 MB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.5838, allocations: 0.9537 MB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.5853, allocations: 1.433 MB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.5855, allocations: 152 kB / 1.041 GB, free: 10.37 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.5864, allocations: 495.2 kB / 1.041 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007301/0.5871, allocations: 0.916 MB / 1.042 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.5879, allocations: 0.9372 MB / 1.043 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.5904, allocations: 3.35 MB / 1.046 GB, free: 4.664 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5904, allocations: 4 kB / 1.046 GB, free: 4.66 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.168e-06/0.5904, allocations: 3.984 kB / 1.046 GB, free: 4.656 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.5904, allocations: 3.938 kB / 1.046 GB, free: 4.652 MB / 0.795 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.002888/0.5933, allocations: 1.951 MB / 1.048 GB, free: 2.645 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5934, allocations: 12.03 kB / 1.048 GB, free: 2.633 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002871/0.5936, allocations: 244.8 kB / 1.048 GB, free: 2.383 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.5991, allocations: 0.8844 MB / 1.049 GB, free: 1.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.6011, allocations: 1.11 MB / 1.05 GB, free: 352 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.765e-05/0.6012, allocations: 115.3 kB / 1.05 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.6016, allocations: 148.3 kB / 1.05 GB, free: 88 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/0.6064, allocations: 3.025 MB / 1.053 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.6065, allocations: 7.844 kB / 1.053 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.6067, allocations: 67.97 kB / 1.053 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002191/0.607, allocations: 175 kB / 1.054 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004206/0.6112, allocations: 2.604 MB / 1.056 GB, free: 10.11 MB / 0.8106 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.01619/0.6274, allocations: 13.55 MB / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.6293, allocations: 1.296 MB / 1.071 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.6307, allocations: 1.054 MB / 1.072 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.6308, allocations: 8.656 kB / 1.072 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.6308, allocations: 47.2 kB / 1.072 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.6308, allocations: 0 / 1.072 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.06863/0.6994, allocations: 19.37 MB / 1.091 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.6995, allocations: 72.72 kB / 1.091 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7008, allocations: 0.9221 MB / 1.092 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.7009, allocations: 49.7 kB / 1.092 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.7014, allocations: 0.7243 MB / 1.092 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.7018, allocations: 489 kB / 1.093 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005805/0.7024, allocations: 291.5 kB / 1.093 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7025, allocations: 353.9 kB / 1.093 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.7044, allocations: 1.339 MB / 1.095 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.7065, allocations: 1.659 MB / 1.096 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/0.7104, allocations: 3.082 MB / 1.099 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.7105, allocations: 4 kB / 1.099 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01132/0.7218, allocations: 5.634 MB / 1.105 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.7218, allocations: 11.94 kB / 1.105 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.7219, allocations: 12 kB / 1.105 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008847/0.7307, allocations: 2.723 MB / 1.108 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.7314, allocations: 191.7 kB / 1.108 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03243/0.7639, allocations: 23.35 MB / 1.131 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.7652, allocations: 99.95 kB / 1.131 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.7655, allocations: 59.98 kB / 1.131 GB, free: 11.59 MB / 0.8887 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.001178/0.7666, allocations: 0.7315 MB / 1.131 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.7669, allocations: 122.6 kB / 1.132 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.778, allocations: 5.388 MB / 1.137 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.778, allocations: 16 kB / 1.137 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-05/0.7781, allocations: 23.92 kB / 1.137 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.7781, allocations: 3.984 kB / 1.137 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.7943, allocations: 8.633 MB / 1.145 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.7944, allocations: 4 kB / 1.145 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.7949, allocations: 131.7 kB / 1.145 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008344/0.8032, allocations: 2.544 MB / 1.148 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.8034, allocations: 28 kB / 1.148 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0292/0.8326, allocations: 20.88 MB / 1.168 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.8327, allocations: 7.984 kB / 1.168 GB, free: 4.355 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.843, allocations: 5.138 MB / 1.173 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000877/0.8439, allocations: 475.5 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.8442, allocations: 28 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/0.8452, allocations: 76.27 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/0.8457, allocations: 121 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.8458, allocations: 44 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008911/0.8467, allocations: 0.6434 MB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.314e-06/0.8467, allocations: 0 / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002318/0.8491, allocations: 0.7303 MB / 1.175 GB, free: 13.02 MB / 0.9356 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.01038/0.8595, allocations: 5.714 MB / 1.181 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006743/0.8662, allocations: 4.137 MB / 1.185 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8662, allocations: 0 / 1.185 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004744/0.871, allocations: 2.658 MB / 1.188 GB, free: 320 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.8724, allocations: 208.7 kB / 1.188 GB, free: 112 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03817/0.9106, allocations: 22.57 MB / 1.21 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.9125, allocations: 1.704 MB / 1.212 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008186/0.9133, allocations: 317.5 kB / 1.212 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/0.914, allocations: 0.5383 MB / 1.212 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of SimCode: time 1.243e-06/0.914, allocations: 0 / 1.212 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4859/1.4, allocations: 50.43 MB / 1.262 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/1.4, allocations: 255.5 kB / 1.262 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.774, allocations: 4 kB / 1.262 GB, free: 219.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches