Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.004602/0.004602, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001315/0.001315, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 71.83 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6789, allocations: 159.1 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01192/0.6909, allocations: 10.1 MB / 1.23 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005018/0.6959, allocations: 3.162 MB / 1.233 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.6963, allocations: 39.81 kB / 1.233 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.6978, allocations: 0.6037 MB / 1.234 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.699, allocations: 0.7349 MB / 1.234 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.7004, allocations: 0.7432 MB / 1.235 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002865/0.7033, allocations: 2.992 MB / 1.238 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.7061, allocations: 2.598 MB / 1.241 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.7075, allocations: 1.254 MB / 1.242 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.7093, allocations: 1.558 MB / 1.243 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.7097, allocations: 236 kB / 1.244 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008923/0.7106, allocations: 0.4993 MB / 1.244 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.7116, allocations: 1.068 MB / 1.245 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.7127, allocations: 1.109 MB / 1.246 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003363/0.7161, allocations: 3.699 MB / 1.25 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7161, allocations: 0 / 1.25 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7161, allocations: 0 / 1.25 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.932e-05/0.7162, allocations: 0 / 1.25 GB, free: 3.469 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003812/0.72, allocations: 2.198 MB / 1.252 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.72, allocations: 12.03 kB / 1.252 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003296/0.7204, allocations: 261.2 kB / 1.252 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008822/0.7292, allocations: 1.322 MB / 1.254 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.7314, allocations: 1.302 MB / 1.255 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/0.7315, allocations: 115.4 kB / 1.255 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.7318, allocations: 152.3 kB / 1.255 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005135/0.737, allocations: 3.437 MB / 1.258 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.737, allocations: 7.891 kB / 1.258 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.7372, allocations: 71.95 kB / 1.259 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002567/0.7375, allocations: 207.1 kB / 1.259 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/0.7423, allocations: 3.12 MB / 1.262 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.7589, allocations: 13.56 MB / 1.275 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.7614, allocations: 1.728 MB / 1.277 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.7635, allocations: 1.444 MB / 1.278 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.369e-05/0.7636, allocations: 12.94 kB / 1.278 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.7636, allocations: 43.56 kB / 1.278 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.595e-06/0.7636, allocations: 4 kB / 1.278 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183): time 0.152/0.9157, allocations: 36.71 MB / 1.314 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.9158, allocations: 69.41 kB / 1.314 GB, free: 460 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.9173, allocations: 1.061 MB / 1.315 GB, free: 15.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.9176, allocations: 53.7 kB / 1.315 GB, free: 15.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/0.9182, allocations: 0.8093 MB / 1.316 GB, free: 14.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.9188, allocations: 0.6584 MB / 1.317 GB, free: 13.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007794/0.9196, allocations: 359.5 kB / 1.317 GB, free: 13.46 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9197, allocations: 301.1 kB / 1.317 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.9226, allocations: 1.928 MB / 1.319 GB, free: 11.24 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.9258, allocations: 2.293 MB / 1.321 GB, free: 8.816 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006132/0.9319, allocations: 4.395 MB / 1.326 GB, free: 4.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.932, allocations: 0 / 1.326 GB, free: 4.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02114/0.9531, allocations: 9.03 MB / 1.334 GB, free: 11.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.9532, allocations: 8 kB / 1.334 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.9532, allocations: 8 kB / 1.334 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01741/0.9706, allocations: 4.977 MB / 1.339 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.9715, allocations: 195.7 kB / 1.34 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05969/1.031, allocations: 38.93 MB / 1.378 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/1.033, allocations: 111.8 kB / 1.378 GB, free: 14.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.033, allocations: 68 kB / 1.378 GB, free: 14.34 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001301/1.035, allocations: 0.8094 MB / 1.378 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/1.035, allocations: 151.1 kB / 1.379 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/1.056, allocations: 8.886 MB / 1.387 GB, free: 4.453 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.056, allocations: 16 kB / 1.387 GB, free: 4.438 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-05/1.056, allocations: 32 kB / 1.387 GB, free: 4.406 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/1.056, allocations: 7.969 kB / 1.387 GB, free: 4.398 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02806/1.084, allocations: 13.41 MB / 1.4 GB, free: 6.836 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.084, allocations: 7.984 kB / 1.4 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/1.085, allocations: 123.8 kB / 1.401 GB, free: 6.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01751/1.102, allocations: 4.826 MB / 1.405 GB, free: 1.863 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/1.103, allocations: 36 kB / 1.405 GB, free: 1.828 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05762/1.16, allocations: 36.86 MB / 1.441 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.16, allocations: 7.938 kB / 1.441 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/1.181, allocations: 8.604 MB / 1.45 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.182, allocations: 0.6405 MB / 1.45 GB, free: 3.02 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/1.183, allocations: 39.98 kB / 1.45 GB, free: 2.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.184, allocations: 91.89 kB / 1.45 GB, free: 2.891 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008089/1.185, allocations: 161.7 kB / 1.451 GB, free: 2.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.185, allocations: 44 kB / 1.451 GB, free: 2.691 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001042/1.186, allocations: 0.7421 MB / 1.451 GB, free: 1.938 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.186, allocations: 0 / 1.451 GB, free: 1.938 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00287/1.189, allocations: 1.008 MB / 1.452 GB, free: 0.9297 MB / 1.17 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02071/1.209, allocations: 9.184 MB / 1.461 GB, free: 7.641 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.22, allocations: 5.955 MB / 1.467 GB, free: 1.637 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.22, allocations: 3.938 kB / 1.467 GB, free: 1.633 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008356/1.228, allocations: 3.951 MB / 1.471 GB, free: 13.63 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.23, allocations: 235.7 kB / 1.471 GB, free: 13.4 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0602/1.29, allocations: 31.09 MB / 1.502 GB, free: 13.77 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.292, allocations: 1.855 MB / 1.503 GB, free: 11.88 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007824/1.293, allocations: 363.4 kB / 1.504 GB, free: 11.52 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/1.294, allocations: 0.6047 MB / 1.504 GB, free: 10.91 MB / 1.232 GB Notification: Performance of SimCode: time 5.01e-07/1.294, allocations: 0 / 1.504 GB, free: 10.91 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.899/4.192, allocations: 76.14 MB / 1.579 GB, free: 328.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/22.49, allocations: 9.188 kB / 1.579 GB, free: 328.3 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches