Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_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_latest_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.007405/0.007405, allocations: 98.62 kB / 15.73 MB, free: 5.547 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.001772/0.001772, allocations: 192.2 kB / 16.67 MB, free: 5.492 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: 4.047 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.12 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3027, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02512/0.3279, allocations: 23.42 MB / 1.23 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.3393, allocations: 6.5 MB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.3416, allocations: 99.5 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004073/0.3457, allocations: 1.479 MB / 1.238 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.3503, allocations: 1.828 MB / 1.24 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.3542, allocations: 1.463 MB / 1.241 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008135/0.3624, allocations: 6.904 MB / 1.248 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6651/1.028, allocations: 6.938 MB / 1.255 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/1.032, allocations: 2.88 MB / 1.258 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007371/1.04, allocations: 3.47 MB / 1.261 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001875/1.041, allocations: 0.5277 MB / 1.261 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/1.046, allocations: 1.177 MB / 1.263 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005091/1.051, allocations: 2.459 MB / 1.265 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006768/1.057, allocations: 2.535 MB / 1.268 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01371/1.071, allocations: 8.522 MB / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.071, allocations: 1.219 kB / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.384e-06/1.071, allocations: 0 / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002828/1.072, allocations: 0 / 1.276 GB, free: 7.145 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01581/1.087, allocations: 4.436 MB / 1.28 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.087, allocations: 10.41 kB / 1.28 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002724/1.09, allocations: 0.572 MB / 1.281 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.1, allocations: 1.672 MB / 1.282 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/1.107, allocations: 2.703 MB / 1.285 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/1.108, allocations: 273.8 kB / 1.285 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/1.11, allocations: 361.9 kB / 1.286 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/1.131, allocations: 7.494 MB / 1.293 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001488/1.131, allocations: 20.53 kB / 1.293 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001146/1.132, allocations: 159.4 kB / 1.293 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007945/1.133, allocations: 482.5 kB / 1.294 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/1.147, allocations: 5.703 MB / 1.299 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03855/1.186, allocations: 31.51 MB / 1.33 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/1.189, allocations: 2.095 MB / 1.332 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/1.192, allocations: 2.174 MB / 1.334 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/1.192, allocations: 15.34 kB / 1.334 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.192, allocations: 49.62 kB / 1.334 GB, free: 5.926 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.496e-06/1.192, allocations: 0 / 1.334 GB, free: 5.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.2676/1.46, allocations: 77.02 MB / 1.409 GB, free: 3.102 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.46, allocations: 77.41 kB / 1.409 GB, free: 3.016 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/1.463, allocations: 1.67 MB / 1.411 GB, free: 1.301 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006622/1.464, allocations: 65.7 kB / 1.411 GB, free: 1.23 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.465, allocations: 1.746 MB / 1.413 GB, free: 15.46 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.466, allocations: 0.8539 MB / 1.414 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/1.468, allocations: 489.2 kB / 1.414 GB, free: 14.13 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.468, allocations: 301.1 kB / 1.414 GB, free: 13.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003929/1.472, allocations: 2.729 MB / 1.417 GB, free: 11.11 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004181/1.476, allocations: 3.331 MB / 1.42 GB, free: 7.535 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008049/1.484, allocations: 6.395 MB / 1.427 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/1.484, allocations: 11.94 kB / 1.427 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03037/1.515, allocations: 14.67 MB / 1.441 GB, free: 2.535 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.515, allocations: 15.98 kB / 1.441 GB, free: 2.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/1.515, allocations: 19.66 kB / 1.441 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02793/1.543, allocations: 9.238 MB / 1.45 GB, free: 9.242 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.544, allocations: 298.2 kB / 1.45 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07385/1.618, allocations: 52.35 MB / 1.501 GB, free: 3.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/1.621, allocations: 219.7 kB / 1.502 GB, free: 3.652 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006443/1.622, allocations: 100 kB / 1.502 GB, free: 3.555 MB / 1.186 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.003376/1.625, allocations: 1.585 MB / 1.503 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.626, allocations: 249 kB / 1.503 GB, free: 1.734 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03097/1.657, allocations: 14.76 MB / 1.518 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/1.657, allocations: 24 kB / 1.518 GB, free: 3.082 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001454/1.657, allocations: 44 kB / 1.518 GB, free: 3.039 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.675e-05/1.658, allocations: 11.95 kB / 1.518 GB, free: 3.027 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04255/1.7, allocations: 20.52 MB / 1.538 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/1.7, allocations: 4 kB / 1.538 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/1.701, allocations: 168.7 kB / 1.538 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02719/1.728, allocations: 9.007 MB / 1.547 GB, free: 5.148 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006277/1.729, allocations: 44 kB / 1.547 GB, free: 5.105 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07388/1.803, allocations: 51.91 MB / 1.598 GB, free: 372 kB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-06/1.803, allocations: 8 kB / 1.598 GB, free: 364 kB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02957/1.832, allocations: 14.37 MB / 1.612 GB, free: 1.84 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/1.835, allocations: 0.8376 MB / 1.613 GB, free: 0.9805 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008926/1.835, allocations: 48 kB / 1.613 GB, free: 0.9336 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.838, allocations: 211.7 kB / 1.613 GB, free: 0.7266 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001236/1.839, allocations: 241.4 kB / 1.613 GB, free: 0.4922 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/1.839, allocations: 68 kB / 1.613 GB, free: 436 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001487/1.841, allocations: 1.129 MB / 1.614 GB, free: 15.28 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.6e-07/1.841, allocations: 0 / 1.614 GB, free: 15.28 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004617/1.845, allocations: 1.613 MB / 1.616 GB, free: 13.66 MB / 1.311 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.02826/1.874, allocations: 14.97 MB / 1.63 GB, free: 14.54 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.01965/1.893, allocations: 10.57 MB / 1.641 GB, free: 3.906 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.893, allocations: 0 / 1.641 GB, free: 3.906 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.01553/1.909, allocations: 7.311 MB / 1.648 GB, free: 12.54 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.913, allocations: 0.5425 MB / 1.648 GB, free: 12 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0936/2.006, allocations: 50.82 MB / 1.698 GB, free: 8.137 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003941/2.01, allocations: 3.22 MB / 1.701 GB, free: 4.879 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.001109/2.011, allocations: 399.3 kB / 1.702 GB, free: 4.484 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/2.013, allocations: 1.46 MB / 1.703 GB, free: 3.023 MB / 1.389 GB Notification: Performance of SimCode: time 9.61e-07/2.013, allocations: 0 / 1.703 GB, free: 3.023 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.749/2.762, allocations: 123.9 MB / 1.824 GB, free: 0.5028 GB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/16.28, allocations: 13.89 kB / 1.824 GB, free: 0.5028 GB / 1.498 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches