Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002507/0.002507, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 75.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9154/0.9175, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0503/0.9678, allocations: 38.61 MB / 1.317 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02335/0.9911, allocations: 11.16 MB / 1.328 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004562/0.9957, allocations: 200 kB / 1.328 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01194/1.008, allocations: 4.425 MB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007987/1.016, allocations: 2.337 MB / 1.334 GB, free: 5.531 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00686/1.022, allocations: 2.17 MB / 1.336 GB, free: 3.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01328/1.036, allocations: 9.275 MB / 1.346 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01389/1.05, allocations: 8.534 MB / 1.354 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008828/1.058, allocations: 4.1 MB / 1.358 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/1.069, allocations: 4.755 MB / 1.363 GB, free: 4.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.004306/1.073, allocations: 0.8225 MB / 1.363 GB, free: 4.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007711/1.081, allocations: 1.609 MB / 1.365 GB, free: 4.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006492/1.088, allocations: 3.235 MB / 1.368 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008483/1.096, allocations: 3.657 MB / 1.372 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01878/1.115, allocations: 12.35 MB / 1.384 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.115, allocations: 0 / 1.384 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/1.115, allocations: 0 / 1.384 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003354/1.115, allocations: 0 / 1.384 GB, free: 0.9062 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01693/1.132, allocations: 6.474 MB / 1.39 GB, free: 10.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/1.132, allocations: 8.031 kB / 1.39 GB, free: 10.34 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002359/1.132, allocations: 151.6 kB / 1.39 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002873/1.135, allocations: 0.8255 MB / 1.391 GB, free: 9.359 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006684/1.142, allocations: 1.098 MB / 1.392 GB, free: 8.258 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009098/1.151, allocations: 3.632 MB / 1.396 GB, free: 4.574 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004533/1.151, allocations: 419.8 kB / 1.396 GB, free: 4.164 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/1.153, allocations: 0.5433 MB / 1.397 GB, free: 3.621 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/1.177, allocations: 9.385 MB / 1.406 GB, free: 9.902 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/1.177, allocations: 23.83 kB / 1.406 GB, free: 9.879 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/1.179, allocations: 251.9 kB / 1.406 GB, free: 9.633 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007579/1.18, allocations: 414.9 kB / 1.406 GB, free: 9.227 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.197, allocations: 7.123 MB / 1.413 GB, free: 2.094 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05825/1.255, allocations: 41.07 MB / 1.453 GB, free: 5.285 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/1.261, allocations: 2.905 MB / 1.456 GB, free: 2.371 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003809/1.265, allocations: 1.953 MB / 1.458 GB, free: 428 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/1.265, allocations: 22 kB / 1.458 GB, free: 404 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.06e-05/1.265, allocations: 64.56 kB / 1.458 GB, free: 332 kB / 1.139 GB Notification: Performance of pre-optimization done (n=209): time 5.44e-06/1.265, allocations: 0 / 1.458 GB, free: 332 kB / 1.139 GB Notification: Performance of matching and sorting (n=212): time 0.02921/1.294, allocations: 10.57 MB / 1.469 GB, free: 5.66 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/1.294, allocations: 73.41 kB / 1.469 GB, free: 5.574 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/1.298, allocations: 2.01 MB / 1.471 GB, free: 3.547 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004126/1.299, allocations: 61.7 kB / 1.471 GB, free: 3.48 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002129/1.301, allocations: 2.478 MB / 1.473 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.302, allocations: 0.7669 MB / 1.474 GB, free: 208 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/1.303, allocations: 485.4 kB / 1.474 GB, free: 15.72 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.303, allocations: 301.1 kB / 1.475 GB, free: 15.43 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/1.305, allocations: 1.372 MB / 1.476 GB, free: 14.05 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/1.308, allocations: 2.108 MB / 1.478 GB, free: 11.63 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/1.314, allocations: 3.77 MB / 1.482 GB, free: 7.551 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/1.314, allocations: 8 kB / 1.482 GB, free: 7.543 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009695/1.324, allocations: 5.027 MB / 1.487 GB, free: 2.492 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/1.324, allocations: 18.03 kB / 1.487 GB, free: 2.477 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/1.324, allocations: 20 kB / 1.487 GB, free: 2.457 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004009/1.328, allocations: 1.594 MB / 1.488 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.33, allocations: 455.2 kB / 1.489 GB, free: 420 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/1.356, allocations: 18.58 MB / 1.507 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/1.359, allocations: 155.8 kB / 1.507 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/1.359, allocations: 108 kB / 1.507 GB, free: 13.01 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003251/1.362, allocations: 1.938 MB / 1.509 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/1.363, allocations: 298.2 kB / 1.509 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008174/1.371, allocations: 4.404 MB / 1.513 GB, free: 6.336 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.371, allocations: 24 kB / 1.513 GB, free: 6.312 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-05/1.371, allocations: 20 kB / 1.513 GB, free: 6.293 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/1.371, allocations: 11.91 kB / 1.514 GB, free: 6.281 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.389, allocations: 9.609 MB / 1.523 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.389, allocations: 4.562 kB / 1.523 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.391, allocations: 239.6 kB / 1.523 GB, free: 12.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00379/1.394, allocations: 1.415 MB / 1.525 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.394, allocations: 36 kB / 1.525 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/1.421, allocations: 18.6 MB / 1.543 GB, free: 7.664 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.421, allocations: 4 kB / 1.543 GB, free: 7.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008419/1.429, allocations: 4.507 MB / 1.547 GB, free: 3.066 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.431, allocations: 0.6514 MB / 1.548 GB, free: 2.395 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/1.431, allocations: 44.25 kB / 1.548 GB, free: 2.352 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.433, allocations: 115.9 kB / 1.548 GB, free: 2.238 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/1.433, allocations: 181.6 kB / 1.548 GB, free: 2.062 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.433, allocations: 56 kB / 1.548 GB, free: 2.008 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002065/1.435, allocations: 1.319 MB / 1.549 GB, free: 0.6797 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.435, allocations: 0 / 1.549 GB, free: 0.6797 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0036/1.439, allocations: 1.141 MB / 1.551 GB, free: 15.54 MB / 1.248 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00828/1.447, allocations: 5.133 MB / 1.556 GB, free: 10.3 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00861/1.456, allocations: 4.54 MB / 1.56 GB, free: 5.719 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.456, allocations: 0 / 1.56 GB, free: 5.719 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005529/1.461, allocations: 2.793 MB / 1.563 GB, free: 2.875 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/1.466, allocations: 0.8965 MB / 1.564 GB, free: 1.992 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05683/1.522, allocations: 30.44 MB / 1.593 GB, free: 2.348 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004601/1.527, allocations: 3.69 MB / 1.597 GB, free: 14.62 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001945/1.529, allocations: 0.5595 MB / 1.597 GB, free: 14.05 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/1.531, allocations: 1.952 MB / 1.599 GB, free: 12.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/1.531, allocations: 3.938 kB / 1.599 GB, free: 12.09 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1667/1.698, allocations: 85.94 MB / 1.683 GB, free: 7.172 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/17.4, allocations: 11.05 kB / 1.683 GB, free: 7.164 MB / 1.373 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.97325235599419]