Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_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_latest_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.00141/0.00141, 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.001305/0.001306, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.203/1.203, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.67 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01085/0.2963, allocations: 9.994 MB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00442/0.3008, allocations: 3.053 MB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.3012, allocations: 31.81 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.3028, allocations: 0.6214 MB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.3039, allocations: 0.6575 MB / 1.066 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3051, allocations: 0.5772 MB / 1.067 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.3083, allocations: 4.076 MB / 1.071 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003469/0.3118, allocations: 2.809 MB / 1.074 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.3132, allocations: 0.9498 MB / 1.074 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.3148, allocations: 1.433 MB / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.315, allocations: 151.9 kB / 1.076 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.3159, allocations: 0.4914 MB / 1.076 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007429/0.3167, allocations: 0.916 MB / 1.077 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007894/0.3175, allocations: 0.9372 MB / 1.078 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.3198, allocations: 3.346 MB / 1.082 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3198, allocations: 4 kB / 1.082 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.32e-07/0.3198, allocations: 0 / 1.082 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.3198, allocations: 0 / 1.082 GB, free: 10.06 MB / 0.8419 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.00295/0.3228, allocations: 1.955 MB / 1.083 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3228, allocations: 8.031 kB / 1.083 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002739/0.3231, allocations: 248.7 kB / 1.084 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/0.3281, allocations: 0.8844 MB / 1.085 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.3298, allocations: 1.122 MB / 1.086 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.3298, allocations: 107.3 kB / 1.086 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.3301, allocations: 144.3 kB / 1.086 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.3341, allocations: 3.021 MB / 1.089 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.3342, allocations: 7.906 kB / 1.089 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.3344, allocations: 59.98 kB / 1.089 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/0.3346, allocations: 179 kB / 1.089 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.3381, allocations: 2.608 MB / 1.092 GB, free: 15.51 MB / 0.8575 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.01403/0.3521, allocations: 13.56 MB / 1.105 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.354, allocations: 1.295 MB / 1.106 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.3553, allocations: 1.05 MB / 1.107 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.399e-05/0.3553, allocations: 16.64 kB / 1.107 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3554, allocations: 43.22 kB / 1.107 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.974e-06/0.3554, allocations: 0 / 1.107 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.0632/0.4186, allocations: 19.38 MB / 1.126 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4186, allocations: 68.66 kB / 1.126 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4197, allocations: 0.9184 MB / 1.127 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.4198, allocations: 45.7 kB / 1.127 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.4202, allocations: 0.7283 MB / 1.128 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.4206, allocations: 496.9 kB / 1.128 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005078/0.4211, allocations: 287.5 kB / 1.129 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4213, allocations: 353.9 kB / 1.129 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.423, allocations: 1.335 MB / 1.13 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.4249, allocations: 1.659 MB / 1.132 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/0.4285, allocations: 3.095 MB / 1.135 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4285, allocations: 4 kB / 1.135 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0103/0.4388, allocations: 5.634 MB / 1.14 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4389, allocations: 11.94 kB / 1.14 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4389, allocations: 8 kB / 1.14 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008021/0.4469, allocations: 2.72 MB / 1.143 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.4476, allocations: 199.5 kB / 1.143 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02986/0.4775, allocations: 23.34 MB / 1.166 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4789, allocations: 95.95 kB / 1.166 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.479, allocations: 56 kB / 1.166 GB, free: 0.9727 MB / 0.92 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.00116/0.4802, allocations: 0.7277 MB / 1.167 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.4805, allocations: 114.6 kB / 1.167 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.4906, allocations: 5.4 MB / 1.172 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.4907, allocations: 12 kB / 1.172 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.184e-05/0.4907, allocations: 20.5 kB / 1.172 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.4907, allocations: 7.969 kB / 1.172 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.5052, allocations: 8.637 MB / 1.181 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.5053, allocations: 11.94 kB / 1.181 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.5057, allocations: 123.7 kB / 1.181 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007726/0.5134, allocations: 2.542 MB / 1.183 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.5136, allocations: 28 kB / 1.183 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02639/0.54, allocations: 20.88 MB / 1.204 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.778e-06/0.54, allocations: 4 kB / 1.204 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009264/0.5493, allocations: 5.134 MB / 1.209 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/0.55, allocations: 471.6 kB / 1.209 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.5502, allocations: 31.98 kB / 1.209 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/0.551, allocations: 75.91 kB / 1.209 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004721/0.5515, allocations: 121 kB / 1.21 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.5516, allocations: 40 kB / 1.21 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007278/0.5523, allocations: 0.6434 MB / 1.21 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5523, allocations: 3.938 kB / 1.21 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002006/0.5543, allocations: 0.7227 MB / 1.211 GB, free: 2.414 MB / 0.9669 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.009557/0.5639, allocations: 5.715 MB / 1.216 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006109/0.57, allocations: 4.141 MB / 1.221 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.57, allocations: 4 kB / 1.221 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/0.5745, allocations: 2.658 MB / 1.223 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5758, allocations: 212.2 kB / 1.223 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4934/1.069, allocations: 22.54 MB / 1.245 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/1.071, allocations: 1.705 MB / 1.247 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009002/1.072, allocations: 323.2 kB / 1.247 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/1.072, allocations: 0.5336 MB / 1.248 GB, free: 176 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.072, allocations: 0.8125 kB / 1.248 GB, free: 176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08578/1.158, allocations: 50.44 MB / 1.297 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/1.158, allocations: 262.1 kB / 1.297 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.5, allocations: 4 kB / 1.297 GB, free: 158.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches