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.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.001328/0.001328, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001461/0.001461, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.773 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.809/2.809, allocations: 476 MB / 0.7699 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] 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.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"}) [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.002136/0.002136, allocations: 69.86 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.288, allocations: 170 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01337/0.3014, allocations: 9.634 MB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006058/0.3074, allocations: 3.162 MB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.3079, allocations: 43.69 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.3096, allocations: 0.6024 MB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.3111, allocations: 0.7779 MB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.3126, allocations: 0.7499 MB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.316, allocations: 2.985 MB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.3181, allocations: 1.415 MB / 1.302 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.3198, allocations: 1.285 MB / 1.303 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.3222, allocations: 1.636 MB / 1.304 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.3226, allocations: 236 kB / 1.305 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.3236, allocations: 487.3 kB / 1.305 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.3247, allocations: 1.095 MB / 1.306 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.3259, allocations: 0.9105 MB / 1.307 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.3299, allocations: 3.724 MB / 1.311 GB, free: 15.51 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3299, allocations: 0 / 1.311 GB, free: 15.51 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3299, allocations: 3.938 kB / 1.311 GB, free: 15.51 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.114e-05/0.3299, allocations: 0 / 1.311 GB, free: 15.51 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004579/0.3345, allocations: 2.113 MB / 1.313 GB, free: 13.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3346, allocations: 8.031 kB / 1.313 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003982/0.335, allocations: 261.2 kB / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00929/0.3442, allocations: 1.33 MB / 1.314 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.3477, allocations: 1.265 MB / 1.316 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3478, allocations: 111.4 kB / 1.316 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/0.3482, allocations: 148.3 kB / 1.316 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.3541, allocations: 3.516 MB / 1.319 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.3541, allocations: 4 kB / 1.319 GB, free: 6.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.3543, allocations: 59.97 kB / 1.319 GB, free: 6.512 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002982/0.3546, allocations: 211.1 kB / 1.319 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005448/0.3601, allocations: 3.12 MB / 1.322 GB, free: 3.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.379, allocations: 10.07 MB / 1.332 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.3819, allocations: 1.607 MB / 1.334 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.384, allocations: 1.335 MB / 1.335 GB, free: 5.961 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-05/0.3841, allocations: 9 kB / 1.335 GB, free: 5.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.3841, allocations: 43.56 kB / 1.335 GB, free: 5.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.346e-06/0.3841, allocations: 0 / 1.335 GB, free: 5.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1573/0.5415, allocations: 36.18 MB / 1.371 GB, free: 1.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.5415, allocations: 77.39 kB / 1.371 GB, free: 1.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.5431, allocations: 1.073 MB / 1.372 GB, free: 488 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002626/0.5434, allocations: 61.7 kB / 1.372 GB, free: 420 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.544, allocations: 0.8056 MB / 1.373 GB, free: 15.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006923/0.5447, allocations: 0.6584 MB / 1.373 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/0.5455, allocations: 359.5 kB / 1.374 GB, free: 14.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5456, allocations: 309.1 kB / 1.374 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/0.5486, allocations: 1.928 MB / 1.376 GB, free: 12.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/0.552, allocations: 2.285 MB / 1.378 GB, free: 9.926 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006601/0.5586, allocations: 4.395 MB / 1.382 GB, free: 5.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.5586, allocations: 3.938 kB / 1.382 GB, free: 5.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02135/0.58, allocations: 8.885 MB / 1.391 GB, free: 12.49 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.58, allocations: 12 kB / 1.391 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.5801, allocations: 8 kB / 1.391 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01745/0.5975, allocations: 4.964 MB / 1.396 GB, free: 7.492 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.5984, allocations: 199.6 kB / 1.396 GB, free: 7.297 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06349/0.6619, allocations: 37.98 MB / 1.433 GB, free: 0.8477 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.6639, allocations: 107.9 kB / 1.433 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.6641, allocations: 71.98 kB / 1.433 GB, free: 0.6719 MB / 1.123 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.001464/0.6656, allocations: 0.8022 MB / 1.434 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.6659, allocations: 147.1 kB / 1.434 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02129/0.6872, allocations: 8.737 MB / 1.443 GB, free: 6.938 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.6872, allocations: 16 kB / 1.443 GB, free: 6.922 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.142e-05/0.6873, allocations: 32 kB / 1.443 GB, free: 6.891 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.6873, allocations: 11.97 kB / 1.443 GB, free: 6.879 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02868/0.716, allocations: 12.66 MB / 1.455 GB, free: 10.1 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.716, allocations: 4 kB / 1.455 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.7165, allocations: 115.8 kB / 1.455 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0177/0.7342, allocations: 4.833 MB / 1.46 GB, free: 5.133 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002928/0.7345, allocations: 32 kB / 1.46 GB, free: 5.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06011/0.7946, allocations: 35.91 MB / 1.495 GB, free: 0.707 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.7946, allocations: 11.88 kB / 1.495 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/0.8155, allocations: 8.448 MB / 1.503 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/0.818, allocations: 0.5808 MB / 1.504 GB, free: 7.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/0.8186, allocations: 35.95 kB / 1.504 GB, free: 7.535 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.8202, allocations: 95.88 kB / 1.504 GB, free: 7.441 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008511/0.821, allocations: 169.5 kB / 1.504 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.8212, allocations: 44 kB / 1.504 GB, free: 7.234 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001151/0.8223, allocations: 0.7382 MB / 1.505 GB, free: 6.484 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8223, allocations: 4 kB / 1.505 GB, free: 6.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003353/0.8257, allocations: 1.008 MB / 1.506 GB, free: 5.473 MB / 1.201 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.02112/0.8468, allocations: 9.039 MB / 1.515 GB, free: 12.34 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01115/0.8579, allocations: 5.743 MB / 1.52 GB, free: 6.547 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.8579, allocations: 0 / 1.52 GB, free: 6.547 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.009027/0.867, allocations: 3.777 MB / 1.524 GB, free: 2.723 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.8686, allocations: 241.1 kB / 1.524 GB, free: 2.492 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06418/0.9328, allocations: 30.82 MB / 1.554 GB, free: 3.137 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.9346, allocations: 1.271 MB / 1.556 GB, free: 1.828 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009253/0.9355, allocations: 355.4 kB / 1.556 GB, free: 1.477 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008502/0.9363, allocations: 0.6086 MB / 1.557 GB, free: 0.8672 MB / 1.248 GB Notification: Performance of SimCode: time 1.312e-06/0.9363, allocations: 0 / 1.557 GB, free: 0.8672 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.738/1.674, allocations: 80.67 MB / 1.635 GB, free: 299.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.76, allocations: 3.938 kB / 1.635 GB, free: 299.5 MB / 1.295 GB " [Timeout remaining time 285] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.544559289701283]