Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.005004/0.005004, allocations: 99.84 kB / 15.73 MB, free: 6.496 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.00138/0.00138, allocations: 196 kB / 16.68 MB, free: 6.375 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.589/2.589, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001793, allocations: 67.83 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2855, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02255/0.3081, allocations: 20.25 MB / 1.24 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.3181, allocations: 6.453 MB / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.3193, allocations: 87.56 kB / 1.246 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.3243, allocations: 2.236 MB / 1.249 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5303/0.8546, allocations: 1.178 MB / 1.25 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.8581, allocations: 1.286 MB / 1.251 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00661/0.8647, allocations: 4.844 MB / 1.256 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.8702, allocations: 5.592 MB / 1.261 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.8744, allocations: 2.09 MB / 1.263 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/0.8789, allocations: 2.337 MB / 1.265 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.8802, allocations: 433.6 kB / 1.266 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.8833, allocations: 1.007 MB / 1.267 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.8856, allocations: 1.664 MB / 1.268 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002647/0.8882, allocations: 1.912 MB / 1.27 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008115/0.8963, allocations: 6.534 MB / 1.277 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8964, allocations: 0 / 1.277 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8964, allocations: 0 / 1.277 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001967/0.8966, allocations: 0 / 1.277 GB, free: 6.68 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008798/0.9054, allocations: 3.54 MB / 1.28 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.9055, allocations: 9.531 kB / 1.28 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007393/0.9062, allocations: 453.6 kB / 1.281 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.9096, allocations: 0.6526 MB / 1.281 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.9133, allocations: 2.058 MB / 1.283 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.9135, allocations: 228.4 kB / 1.283 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005532/0.914, allocations: 292.7 kB / 1.284 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008126/0.9222, allocations: 4.884 MB / 1.289 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.888e-05/0.9223, allocations: 13.61 kB / 1.289 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003319/0.9226, allocations: 133.5 kB / 1.289 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004111/0.923, allocations: 227.3 kB / 1.289 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006438/0.9295, allocations: 3.751 MB / 1.293 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02552/0.955, allocations: 21.44 MB / 1.313 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.9569, allocations: 1.31 MB / 1.315 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.9584, allocations: 1.059 MB / 1.316 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.9585, allocations: 15.59 kB / 1.316 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.9585, allocations: 43.91 kB / 1.316 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/0.9585, allocations: 1.312 kB / 1.316 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=138): time 0.0234/0.9819, allocations: 8.699 MB / 1.324 GB, free: 10.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.982, allocations: 70.5 kB / 1.324 GB, free: 10.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.9836, allocations: 1.125 MB / 1.326 GB, free: 9.535 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.9837, allocations: 51.17 kB / 1.326 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/0.9846, allocations: 1.339 MB / 1.327 GB, free: 8.309 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/0.985, allocations: 0.497 MB / 1.327 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/0.9855, allocations: 290.9 kB / 1.328 GB, free: 7.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9857, allocations: 306.2 kB / 1.328 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.9871, allocations: 0.9178 MB / 1.329 GB, free: 6.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.9887, allocations: 1.324 MB / 1.33 GB, free: 5.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.9918, allocations: 2.427 MB / 1.332 GB, free: 4.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.9918, allocations: 3.656 kB / 1.332 GB, free: 4.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006005/0.9978, allocations: 3.477 MB / 1.336 GB, free: 2.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.9978, allocations: 10.56 kB / 1.336 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.9979, allocations: 12.78 kB / 1.336 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/1.001, allocations: 1.189 MB / 1.337 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/1.002, allocations: 253.9 kB / 1.337 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/1.018, allocations: 13.86 MB / 1.351 GB, free: 7.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.02, allocations: 90.31 kB / 1.351 GB, free: 7.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.02, allocations: 69.67 kB / 1.351 GB, free: 7.676 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002006/1.022, allocations: 1.108 MB / 1.352 GB, free: 6.977 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/1.022, allocations: 166.7 kB / 1.352 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/1.028, allocations: 3.179 MB / 1.355 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/1.028, allocations: 11.75 kB / 1.355 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.028, allocations: 12.78 kB / 1.355 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.028, allocations: 11.91 kB / 1.355 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.038, allocations: 6.252 MB / 1.361 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.038, allocations: 4 kB / 1.361 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/1.039, allocations: 147.8 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/1.041, allocations: 1.069 MB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-05/1.042, allocations: 32 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/1.058, allocations: 13.54 MB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.058, allocations: 4 kB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/1.064, allocations: 3.171 MB / 1.379 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/1.065, allocations: 427.9 kB / 1.379 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/1.065, allocations: 35.92 kB / 1.379 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/1.066, allocations: 79.89 kB / 1.38 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.066, allocations: 128.7 kB / 1.38 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/1.066, allocations: 36 kB / 1.38 GB, free: 11.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00102/1.067, allocations: 0.7671 MB / 1.38 GB, free: 10.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.067, allocations: 0 / 1.38 GB, free: 10.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001974/1.069, allocations: 0.6602 MB / 1.381 GB, free: 10.1 MB / 1.076 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005408/1.074, allocations: 3.757 MB / 1.385 GB, free: 6.258 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004906/1.079, allocations: 3.14 MB / 1.388 GB, free: 3.086 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.079, allocations: 0 / 1.388 GB, free: 3.086 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002964/1.082, allocations: 1.958 MB / 1.39 GB, free: 1.098 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/1.085, allocations: 0.5108 MB / 1.39 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/1.115, allocations: 19.2 MB / 1.409 GB, free: 12.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/1.117, allocations: 2.332 MB / 1.411 GB, free: 10.47 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001045/1.118, allocations: 350.1 kB / 1.412 GB, free: 10.12 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.119, allocations: 1.011 MB / 1.413 GB, free: 9.113 MB / 1.107 GB Notification: Performance of SimCode: time 5.72e-07/1.119, allocations: 0 / 1.413 GB, free: 9.113 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 17.14/18.26, allocations: 52.3 MB / 1.464 GB, free: 5.539 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.65/41.9, allocations: 11.84 kB / 1.464 GB, free: 5.527 MB / 1.154 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches