Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACLine_RL_N,fileNamePrefix="Buildings_latest_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_latest_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.004503/0.004503, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001025/0.001025, allocations: 194.5 kB / 16.67 MB, free: 5.938 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: 4.039 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.84 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3314, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02319/0.3546, allocations: 20.25 MB / 1.227 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.3667, allocations: 6.468 MB / 1.233 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.3688, allocations: 83.62 kB / 1.233 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006011/0.3749, allocations: 2.229 MB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.3787, allocations: 1.193 MB / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.3823, allocations: 1.284 MB / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005909/0.3882, allocations: 4.846 MB / 1.243 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008446/0.3967, allocations: 5.579 MB / 1.248 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6577/1.054, allocations: 2.121 MB / 1.25 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/1.059, allocations: 2.341 MB / 1.253 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005969/1.059, allocations: 429.4 kB / 1.253 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/1.061, allocations: 1 MB / 1.254 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/1.063, allocations: 1.67 MB / 1.256 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001947/1.064, allocations: 1.909 MB / 1.257 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008749/1.073, allocations: 6.521 MB / 1.264 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.073, allocations: 3.844 kB / 1.264 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.073, allocations: 0 / 1.264 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002307/1.073, allocations: 0.7812 kB / 1.264 GB, free: 11.06 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.008789/1.082, allocations: 3.456 MB / 1.267 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.082, allocations: 11.12 kB / 1.267 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008166/1.083, allocations: 456.3 kB / 1.268 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/1.087, allocations: 0.6336 MB / 1.268 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/1.091, allocations: 2.05 MB / 1.27 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/1.091, allocations: 223.4 kB / 1.27 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/1.092, allocations: 288.3 kB / 1.271 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007899/1.1, allocations: 4.892 MB / 1.276 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/1.1, allocations: 15.77 kB / 1.276 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/1.1, allocations: 130.8 kB / 1.276 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004692/1.101, allocations: 228.9 kB / 1.276 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006951/1.108, allocations: 3.752 MB / 1.28 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/1.131, allocations: 21.41 MB / 1.3 GB, free: 8.949 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/1.133, allocations: 1.302 MB / 1.302 GB, free: 8.461 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/1.134, allocations: 1.05 MB / 1.303 GB, free: 8.074 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-05/1.134, allocations: 13.89 kB / 1.303 GB, free: 8.074 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.134, allocations: 49.7 kB / 1.303 GB, free: 8.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.396e-06/1.134, allocations: 4 kB / 1.303 GB, free: 8.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02338/1.158, allocations: 8.658 MB / 1.311 GB, free: 5.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/1.158, allocations: 69.12 kB / 1.311 GB, free: 5.164 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/1.159, allocations: 1.128 MB / 1.312 GB, free: 4.723 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.159, allocations: 50.83 kB / 1.313 GB, free: 4.672 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/1.16, allocations: 1.295 MB / 1.314 GB, free: 3.691 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/1.161, allocations: 489 kB / 1.314 GB, free: 3.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/1.161, allocations: 294.4 kB / 1.315 GB, free: 3.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/1.161, allocations: 305.1 kB / 1.315 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.162, allocations: 0.9109 MB / 1.316 GB, free: 2.539 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/1.164, allocations: 1.324 MB / 1.317 GB, free: 1.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/1.167, allocations: 2.425 MB / 1.319 GB, free: 392 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/1.167, allocations: 3.656 kB / 1.319 GB, free: 392 kB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005843/1.173, allocations: 3.468 MB / 1.323 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.173, allocations: 9.75 kB / 1.323 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.173, allocations: 12.81 kB / 1.323 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/1.176, allocations: 1.184 MB / 1.324 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/1.177, allocations: 255.2 kB / 1.324 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.194, allocations: 13.85 MB / 1.338 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.195, allocations: 87.84 kB / 1.338 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.195, allocations: 62.88 kB / 1.338 GB, free: 4.102 MB / 1.029 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.002147/1.197, allocations: 1.119 MB / 1.339 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/1.198, allocations: 161.8 kB / 1.339 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005367/1.203, allocations: 3.172 MB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.203, allocations: 13.84 kB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.203, allocations: 12.62 kB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.203, allocations: 11.91 kB / 1.342 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009551/1.213, allocations: 6.247 MB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.213, allocations: 1.625 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/1.213, allocations: 151.2 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/1.216, allocations: 1.077 MB / 1.35 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/1.216, allocations: 28.59 kB / 1.35 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/1.231, allocations: 13.53 MB / 1.363 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.231, allocations: 4 kB / 1.363 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/1.236, allocations: 3.156 MB / 1.366 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008508/1.237, allocations: 423.1 kB / 1.366 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/1.237, allocations: 31.92 kB / 1.366 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/1.238, allocations: 83.91 kB / 1.366 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/1.238, allocations: 125.1 kB / 1.366 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/1.238, allocations: 36 kB / 1.367 GB, free: 14.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009647/1.239, allocations: 0.771 MB / 1.367 GB, free: 13.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.239, allocations: 4 kB / 1.367 GB, free: 13.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002121/1.242, allocations: 0.6562 MB / 1.368 GB, free: 13.03 MB / 1.061 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.005125/1.247, allocations: 3.742 MB / 1.372 GB, free: 9.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004537/1.251, allocations: 3.13 MB / 1.375 GB, free: 6.129 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.251, allocations: 128 / 1.375 GB, free: 6.129 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002708/1.254, allocations: 1.964 MB / 1.377 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/1.256, allocations: 0.493 MB / 1.377 GB, free: 3.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.284, allocations: 19.11 MB / 1.396 GB, free: 196 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/1.287, allocations: 2.336 MB / 1.398 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001042/1.288, allocations: 358.1 kB / 1.398 GB, free: 13.47 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.289, allocations: 1.009 MB / 1.399 GB, free: 12.46 MB / 1.092 GB Notification: Performance of SimCode: time 8.82e-07/1.289, allocations: 4 kB / 1.399 GB, free: 12.46 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08712/1.376, allocations: 52.91 MB / 1.451 GB, free: 8.293 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/13.28, allocations: 15.73 kB / 1.451 GB, free: 8.277 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches