Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001246/0.001246, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001364/0.001364, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.013/3.013, allocations: 0.49 GB / 0.7959 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001915/0.001915, allocations: 71.11 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 176.1 MB / 1.327 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02754/0.3407, allocations: 24.46 MB / 1.351 GB, free: 9.324 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3522, allocations: 6.71 MB / 1.357 GB, free: 2.594 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.354, allocations: 127 kB / 1.357 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003959/0.3579, allocations: 1.561 MB / 1.359 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.3623, allocations: 1.937 MB / 1.361 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.3658, allocations: 1.502 MB / 1.362 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008216/0.374, allocations: 6.92 MB / 1.369 GB, free: 6.512 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006406/0.3804, allocations: 3.761 MB / 1.373 GB, free: 2.652 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/0.3856, allocations: 2.917 MB / 1.375 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006207/0.3918, allocations: 3.735 MB / 1.379 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.3932, allocations: 0.5273 MB / 1.38 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.396, allocations: 1.202 MB / 1.381 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.3991, allocations: 2.529 MB / 1.383 GB, free: 7.715 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004439/0.4035, allocations: 2.54 MB / 1.386 GB, free: 5.164 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4143, allocations: 8.542 MB / 1.394 GB, free: 12.59 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4143, allocations: 0 / 1.394 GB, free: 12.59 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4143, allocations: 0 / 1.394 GB, free: 12.59 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002296/0.4145, allocations: 0 / 1.394 GB, free: 12.59 MB / 1.092 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.01002/0.4245, allocations: 4.472 MB / 1.398 GB, free: 8.066 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4246, allocations: 12.03 kB / 1.398 GB, free: 8.055 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001233/0.4247, allocations: 99.55 kB / 1.398 GB, free: 7.957 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009544/0.4256, allocations: 0.5753 MB / 1.399 GB, free: 7.371 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008359/0.434, allocations: 1.687 MB / 1.401 GB, free: 5.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006079/0.4401, allocations: 2.676 MB / 1.403 GB, free: 2.961 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.4403, allocations: 271.7 kB / 1.404 GB, free: 2.695 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.4414, allocations: 360.3 kB / 1.404 GB, free: 2.344 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/0.4568, allocations: 7.49 MB / 1.411 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.457, allocations: 23.83 kB / 1.411 GB, free: 10.56 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001112/0.4581, allocations: 159.9 kB / 1.411 GB, free: 10.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006621/0.4588, allocations: 483.3 kB / 1.412 GB, free: 9.934 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.4695, allocations: 5.701 MB / 1.417 GB, free: 4.227 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04081/0.5103, allocations: 31.28 MB / 1.448 GB, free: 2.168 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.5134, allocations: 2.014 MB / 1.45 GB, free: 148 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/0.5166, allocations: 2.1 MB / 1.452 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.5167, allocations: 25.22 kB / 1.452 GB, free: 14.02 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.5168, allocations: 51.8 kB / 1.452 GB, free: 13.96 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.827e-06/0.5168, allocations: 0 / 1.452 GB, free: 13.96 MB / 1.154 GB Notification: Performance of matching and sorting (n=251): time 0.3035/0.8203, allocations: 76.72 MB / 1.527 GB, free: 1.117 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.8204, allocations: 89.28 kB / 1.527 GB, free: 1.016 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.8233, allocations: 1.67 MB / 1.529 GB, free: 15.3 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004857/0.8237, allocations: 61.7 kB / 1.529 GB, free: 15.23 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.8251, allocations: 1.792 MB / 1.531 GB, free: 13.43 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/0.8263, allocations: 0.8985 MB / 1.531 GB, free: 12.52 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.8276, allocations: 481.4 kB / 1.532 GB, free: 12.05 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8277, allocations: 309 kB / 1.532 GB, free: 11.74 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004003/0.8317, allocations: 2.73 MB / 1.535 GB, free: 9.008 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/0.8362, allocations: 3.332 MB / 1.538 GB, free: 5.43 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009007/0.8452, allocations: 6.401 MB / 1.544 GB, free: 14.79 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/0.8452, allocations: 4 kB / 1.544 GB, free: 14.79 MB / 1.248 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03379/0.879, allocations: 14.41 MB / 1.558 GB, free: 336 kB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.8791, allocations: 12 kB / 1.558 GB, free: 324 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/0.8791, allocations: 19.94 kB / 1.558 GB, free: 304 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03045/0.9095, allocations: 9.239 MB / 1.567 GB, free: 7.031 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.9109, allocations: 303.4 kB / 1.568 GB, free: 6.734 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6849/1.596, allocations: 51.78 MB / 1.618 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.599, allocations: 224.7 kB / 1.619 GB, free: 249.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/1.599, allocations: 97.88 kB / 1.619 GB, free: 249.5 MB / 1.295 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.00308/1.602, allocations: 1.587 MB / 1.62 GB, free: 248.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/1.603, allocations: 254.4 kB / 1.62 GB, free: 248.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0308/1.634, allocations: 14.47 MB / 1.635 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.634, allocations: 32.78 kB / 1.635 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001588/1.634, allocations: 43.69 kB / 1.635 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/1.634, allocations: 16.34 kB / 1.635 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03447/1.668, allocations: 20.2 MB / 1.654 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/1.668, allocations: 7.25 kB / 1.654 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/1.669, allocations: 162.8 kB / 1.655 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02637/1.696, allocations: 8.998 MB / 1.663 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005475/1.696, allocations: 51.41 kB / 1.663 GB, free: 234.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06329/1.759, allocations: 51.36 MB / 1.713 GB, free: 184.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.759, allocations: 15.88 kB / 1.714 GB, free: 184.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02653/1.786, allocations: 14.09 MB / 1.727 GB, free: 170.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/1.788, allocations: 0.7845 MB / 1.728 GB, free: 169.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/1.789, allocations: 53.56 kB / 1.728 GB, free: 169.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.792, allocations: 215.7 kB / 1.728 GB, free: 169 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001634/1.793, allocations: 249.3 kB / 1.729 GB, free: 168.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004122/1.794, allocations: 64 kB / 1.729 GB, free: 168.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002066/1.796, allocations: 1.125 MB / 1.73 GB, free: 167.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.796, allocations: 0 / 1.73 GB, free: 167.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006325/1.802, allocations: 1.613 MB / 1.731 GB, free: 166 MB / 1.295 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.0268/1.829, allocations: 14.71 MB / 1.746 GB, free: 151.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01931/1.848, allocations: 10.21 MB / 1.756 GB, free: 140.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.848, allocations: 0.875 kB / 1.756 GB, free: 140.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01461/1.863, allocations: 7.011 MB / 1.762 GB, free: 133.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/1.866, allocations: 0.5659 MB / 1.763 GB, free: 133.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08451/1.951, allocations: 50.52 MB / 1.812 GB, free: 81.73 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003547/1.954, allocations: 3.22 MB / 1.815 GB, free: 78.47 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009121/1.955, allocations: 395.2 kB / 1.816 GB, free: 78.08 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.956, allocations: 1.468 MB / 1.817 GB, free: 76.61 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.956, allocations: 0 / 1.817 GB, free: 76.61 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/2.134, allocations: 124.7 MB / 1.939 GB, free: 448 kB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/18.07, allocations: 13.97 kB / 1.939 GB, free: 440 kB / 1.342 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 25.464158785005566]