Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.006692/0.006692, allocations: 103.2 kB / 15.74 MB, free: 6.059 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.00172/0.00172, allocations: 189 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.61/2.61, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7531/0.7549, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02694/0.7818, allocations: 23.41 MB / 1.243 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.7927, allocations: 6.484 MB / 1.249 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.7943, allocations: 99.5 kB / 1.249 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.7979, allocations: 1.495 MB / 1.251 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.8015, allocations: 1.828 MB / 1.253 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.8045, allocations: 1.463 MB / 1.254 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007188/0.8117, allocations: 6.912 MB / 1.261 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007763/0.8195, allocations: 6.944 MB / 1.268 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.8233, allocations: 2.847 MB / 1.27 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/0.8276, allocations: 3.462 MB / 1.274 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.8284, allocations: 0.5312 MB / 1.274 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.8305, allocations: 1.174 MB / 1.276 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.8329, allocations: 2.472 MB / 1.278 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0027/0.8356, allocations: 2.536 MB / 1.28 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008147/0.8437, allocations: 8.535 MB / 1.289 GB, free: 11.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8438, allocations: 4 kB / 1.289 GB, free: 11.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8438, allocations: 0 / 1.289 GB, free: 11.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001258/0.8439, allocations: 0 / 1.289 GB, free: 11.55 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007591/0.8515, allocations: 4.547 MB / 1.293 GB, free: 6.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.8515, allocations: 8.031 kB / 1.293 GB, free: 6.922 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007322/0.8523, allocations: 0.5714 MB / 1.294 GB, free: 6.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007902/0.8602, allocations: 1.703 MB / 1.295 GB, free: 4.633 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.8646, allocations: 2.705 MB / 1.298 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.8648, allocations: 279.7 kB / 1.298 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005865/0.8654, allocations: 360.3 kB / 1.299 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.8763, allocations: 7.49 MB / 1.306 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.296e-05/0.8764, allocations: 7.938 kB / 1.306 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/0.8768, allocations: 163.9 kB / 1.306 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005521/0.8774, allocations: 491.3 kB / 1.307 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008572/0.886, allocations: 5.701 MB / 1.312 GB, free: 3.137 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/0.9175, allocations: 31.55 MB / 1.343 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.9203, allocations: 2.09 MB / 1.345 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.9231, allocations: 2.174 MB / 1.347 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.9233, allocations: 25.3 kB / 1.347 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9233, allocations: 43.88 kB / 1.347 GB, free: 12.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 3.566e-06/0.9233, allocations: 0 / 1.347 GB, free: 12.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.2935/1.217, allocations: 77.08 MB / 1.422 GB, free: 15.24 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.217, allocations: 77.41 kB / 1.423 GB, free: 15.15 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/1.219, allocations: 1.678 MB / 1.424 GB, free: 13.43 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/1.219, allocations: 65.7 kB / 1.424 GB, free: 13.36 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.221, allocations: 1.788 MB / 1.426 GB, free: 11.55 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008093/1.221, allocations: 0.8946 MB / 1.427 GB, free: 10.65 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009857/1.222, allocations: 493.3 kB / 1.427 GB, free: 10.16 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.222, allocations: 301.1 kB / 1.428 GB, free: 9.863 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/1.226, allocations: 2.726 MB / 1.43 GB, free: 7.133 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004169/1.23, allocations: 3.332 MB / 1.434 GB, free: 3.559 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008383/1.239, allocations: 6.397 MB / 1.44 GB, free: 12.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.239, allocations: 8 kB / 1.44 GB, free: 12.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03287/1.272, allocations: 14.69 MB / 1.454 GB, free: 14.17 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.272, allocations: 12 kB / 1.454 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/1.272, allocations: 19.94 kB / 1.454 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03027/1.302, allocations: 9.232 MB / 1.463 GB, free: 4.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.303, allocations: 307.4 kB / 1.463 GB, free: 4.574 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08271/1.386, allocations: 52.41 MB / 1.515 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/1.389, allocations: 227.6 kB / 1.515 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/1.389, allocations: 104 kB / 1.515 GB, free: 14.96 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002394/1.391, allocations: 1.575 MB / 1.517 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/1.392, allocations: 262.5 kB / 1.517 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0319/1.424, allocations: 14.76 MB / 1.531 GB, free: 14.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.424, allocations: 24 kB / 1.531 GB, free: 14.28 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/1.424, allocations: 44 kB / 1.531 GB, free: 14.23 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/1.424, allocations: 15.95 kB / 1.531 GB, free: 14.22 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03943/1.463, allocations: 20.51 MB / 1.551 GB, free: 9.508 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.463, allocations: 4 kB / 1.551 GB, free: 9.504 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/1.464, allocations: 163.7 kB / 1.551 GB, free: 9.344 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02846/1.492, allocations: 9.007 MB / 1.56 GB, free: 316 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000294/1.493, allocations: 52 kB / 1.56 GB, free: 264 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5737/2.066, allocations: 51.96 MB / 1.611 GB, free: 296.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/2.067, allocations: 8 kB / 1.611 GB, free: 296.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02496/2.091, allocations: 14.38 MB / 1.625 GB, free: 282.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/2.093, allocations: 0.8546 MB / 1.626 GB, free: 282 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/2.093, allocations: 54.05 kB / 1.626 GB, free: 282 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/2.095, allocations: 208.6 kB / 1.626 GB, free: 281.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/2.096, allocations: 237.5 kB / 1.626 GB, free: 281.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/2.096, allocations: 64 kB / 1.626 GB, free: 281.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001016/2.097, allocations: 1.129 MB / 1.628 GB, free: 280.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/2.097, allocations: 0 / 1.628 GB, free: 280.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002978/2.1, allocations: 1.613 MB / 1.629 GB, free: 278.7 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0254/2.126, allocations: 14.99 MB / 1.644 GB, free: 263.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01844/2.144, allocations: 10.58 MB / 1.654 GB, free: 253 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/2.144, allocations: 4 kB / 1.654 GB, free: 253 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01421/2.158, allocations: 7.356 MB / 1.661 GB, free: 245.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/2.161, allocations: 0.5484 MB / 1.662 GB, free: 245 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07382/2.235, allocations: 50.96 MB / 1.712 GB, free: 193 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/2.237, allocations: 3.224 MB / 1.715 GB, free: 189.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000815/2.238, allocations: 387.3 kB / 1.715 GB, free: 189.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/2.239, allocations: 1.466 MB / 1.717 GB, free: 187.9 MB / 1.279 GB Notification: Performance of SimCode: time 7.11e-07/2.239, allocations: 0 / 1.717 GB, free: 187.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.602/3.841, allocations: 120.9 MB / 1.835 GB, free: 67.57 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.06/22.9, allocations: 7.797 kB / 1.835 GB, free: 67.56 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches