Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.006614/0.006614, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001694/0.001694, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437.1 MB / 0.7106 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 64.11 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6505, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03622/0.6867, allocations: 32.6 MB / 1.198 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.7027, allocations: 10.27 MB / 1.208 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.7049, allocations: 147.3 kB / 1.208 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.008474/0.7135, allocations: 3.722 MB / 1.212 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004498/0.718, allocations: 1.858 MB / 1.214 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005002/0.723, allocations: 2.126 MB / 1.216 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008421/0.7314, allocations: 7.322 MB / 1.223 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.7436, allocations: 9.433 MB / 1.232 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.748, allocations: 3.17 MB / 1.235 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005066/0.7531, allocations: 3.481 MB / 1.239 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.7547, allocations: 0.6484 MB / 1.239 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/0.7586, allocations: 1.771 MB / 1.241 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003588/0.7622, allocations: 2.55 MB / 1.243 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004267/0.7665, allocations: 2.894 MB / 1.246 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.7772, allocations: 10.14 MB / 1.256 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7773, allocations: 0 / 1.256 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7773, allocations: 0 / 1.256 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002035/0.7775, allocations: 0 / 1.256 GB, free: 7.297 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009264/0.7868, allocations: 5.12 MB / 1.261 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7868, allocations: 8.922 kB / 1.261 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009074/0.7877, allocations: 0.6859 MB / 1.262 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.7926, allocations: 0.9696 MB / 1.263 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.7975, allocations: 3.059 MB / 1.266 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.7978, allocations: 353.7 kB / 1.266 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006875/0.7985, allocations: 460.2 kB / 1.267 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.8102, allocations: 7.675 MB / 1.274 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.8104, allocations: 27.77 kB / 1.274 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/0.8109, allocations: 204 kB / 1.274 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003334/0.8112, allocations: 316.9 kB / 1.275 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008875/0.8201, allocations: 5.706 MB / 1.28 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03297/0.8531, allocations: 34.88 MB / 1.314 GB, free: 8.141 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.8559, allocations: 2.152 MB / 1.316 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.8575, allocations: 1.268 MB / 1.318 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/0.8576, allocations: 13.31 kB / 1.318 GB, free: 4.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.8576, allocations: 51.88 kB / 1.318 GB, free: 4.531 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 2.856e-06/0.8576, allocations: 0 / 1.318 GB, free: 4.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01325/0.8709, allocations: 7.145 MB / 1.325 GB, free: 13.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.8709, allocations: 68.72 kB / 1.325 GB, free: 13.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.8728, allocations: 1.488 MB / 1.326 GB, free: 11.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.131e-05/0.8729, allocations: 49.7 kB / 1.326 GB, free: 11.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.8743, allocations: 2.065 MB / 1.328 GB, free: 9.367 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.8748, allocations: 0.5074 MB / 1.329 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005054/0.8753, allocations: 343.4 kB / 1.329 GB, free: 8.512 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8754, allocations: 309.1 kB / 1.329 GB, free: 8.207 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.8767, allocations: 0.9057 MB / 1.33 GB, free: 7.301 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.8785, allocations: 1.597 MB / 1.332 GB, free: 5.395 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.8818, allocations: 2.741 MB / 1.334 GB, free: 2.344 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.8818, allocations: 4 kB / 1.334 GB, free: 2.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00607/0.8879, allocations: 3.539 MB / 1.338 GB, free: 14.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.8879, allocations: 20.25 kB / 1.338 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.888, allocations: 27.94 kB / 1.338 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/0.8905, allocations: 0.896 MB / 1.339 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.8916, allocations: 355.4 kB / 1.339 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.9132, allocations: 23.11 MB / 1.362 GB, free: 4.637 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.9146, allocations: 108 kB / 1.362 GB, free: 4.531 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.9148, allocations: 87.94 kB / 1.362 GB, free: 4.445 MB / 1.092 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002283/0.9171, allocations: 1.607 MB / 1.363 GB, free: 2.828 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.9174, allocations: 218.6 kB / 1.364 GB, free: 2.613 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.9226, allocations: 2.994 MB / 1.367 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.9226, allocations: 12 kB / 1.367 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.9226, allocations: 12 kB / 1.367 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.9226, allocations: 7.969 kB / 1.367 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.9335, allocations: 7.34 MB / 1.374 GB, free: 7.957 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.9336, allocations: 4 kB / 1.374 GB, free: 7.953 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.9344, allocations: 184.2 kB / 1.374 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.9367, allocations: 0.8179 MB / 1.375 GB, free: 6.918 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.478e-05/0.9368, allocations: 32 kB / 1.375 GB, free: 6.887 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.9571, allocations: 21.96 MB / 1.396 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.9572, allocations: 12.06 kB / 1.396 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/0.9622, allocations: 3.03 MB / 1.399 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/0.9631, allocations: 467.6 kB / 1.4 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.9633, allocations: 35.89 kB / 1.4 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.964, allocations: 67.91 kB / 1.4 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.9644, allocations: 132.7 kB / 1.4 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.9644, allocations: 39.94 kB / 1.4 GB, free: 11.34 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001278/0.9657, allocations: 0.9756 MB / 1.401 GB, free: 10.34 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9657, allocations: 4 kB / 1.401 GB, free: 10.34 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002407/0.9682, allocations: 0.7891 MB / 1.402 GB, free: 9.547 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005203/0.9734, allocations: 3.621 MB / 1.405 GB, free: 5.809 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005796/0.9792, allocations: 4.043 MB / 1.409 GB, free: 1.609 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9792, allocations: 0 / 1.409 GB, free: 1.609 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/0.9829, allocations: 2.741 MB / 1.412 GB, free: 14.72 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.9859, allocations: 0.7393 MB / 1.413 GB, free: 14.01 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/1.018, allocations: 22.45 MB / 1.434 GB, free: 6.531 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00326/1.022, allocations: 3.113 MB / 1.437 GB, free: 3.387 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001231/1.023, allocations: 461.9 kB / 1.438 GB, free: 2.934 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/1.025, allocations: 1.53 MB / 1.439 GB, free: 1.402 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/1.025, allocations: 3.938 kB / 1.439 GB, free: 1.398 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.711/3.735, allocations: 61.42 MB / 1.499 GB, free: 4.512 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.14/27.88, allocations: 10.81 kB / 1.499 GB, free: 4.504 MB / 1.232 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches