Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.473/2.473, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 68.08 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7472, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02147/0.7687, allocations: 21.22 MB / 1.292 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.7797, allocations: 6.685 MB / 1.299 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.7815, allocations: 84.97 kB / 1.299 GB, free: 5.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00554/0.7871, allocations: 2.331 MB / 1.301 GB, free: 3.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.7903, allocations: 1.235 MB / 1.302 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.7937, allocations: 1.323 MB / 1.303 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0059/0.7996, allocations: 4.851 MB / 1.308 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00469/0.8043, allocations: 2.95 MB / 1.311 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.8077, allocations: 2.123 MB / 1.313 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004693/0.8124, allocations: 2.478 MB / 1.316 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.8137, allocations: 429.7 kB / 1.316 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.8167, allocations: 1.021 MB / 1.317 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.8189, allocations: 1.704 MB / 1.319 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.8214, allocations: 1.916 MB / 1.321 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007532/0.8289, allocations: 6.531 MB / 1.327 GB, free: 8.414 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8289, allocations: 0 / 1.327 GB, free: 8.414 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8289, allocations: 0 / 1.327 GB, free: 8.414 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001292/0.8291, allocations: 1.031 kB / 1.327 GB, free: 8.414 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006929/0.836, allocations: 3.548 MB / 1.33 GB, free: 6.344 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.836, allocations: 9.594 kB / 1.33 GB, free: 6.344 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006336/0.8367, allocations: 465.5 kB / 1.331 GB, free: 6.082 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/0.8399, allocations: 0.6503 MB / 1.331 GB, free: 5.883 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.8433, allocations: 2.059 MB / 1.333 GB, free: 4.805 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.8435, allocations: 218.4 kB / 1.334 GB, free: 4.707 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004552/0.8439, allocations: 299.9 kB / 1.334 GB, free: 4.602 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007271/0.8512, allocations: 4.889 MB / 1.339 GB, free: 1.891 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/0.8513, allocations: 13.14 kB / 1.339 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.8516, allocations: 127 kB / 1.339 GB, free: 1.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004127/0.852, allocations: 235.5 kB / 1.339 GB, free: 1.723 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/0.8578, allocations: 3.746 MB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02135/0.8792, allocations: 21.43 MB / 1.364 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.8809, allocations: 1.234 MB / 1.365 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.8822, allocations: 0.996 MB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.8822, allocations: 14.91 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.8823, allocations: 45.22 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 3.025e-06/0.8823, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.0231/0.9054, allocations: 8.653 MB / 1.374 GB, free: 6.109 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.9054, allocations: 66.66 kB / 1.374 GB, free: 6.047 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.9068, allocations: 1.129 MB / 1.376 GB, free: 5.426 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.85e-05/0.9069, allocations: 51.52 kB / 1.376 GB, free: 5.375 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008736/0.9078, allocations: 1.333 MB / 1.377 GB, free: 4.199 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/0.9082, allocations: 0.4942 MB / 1.377 GB, free: 3.762 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004555/0.9087, allocations: 291.2 kB / 1.378 GB, free: 3.598 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.9088, allocations: 310.4 kB / 1.378 GB, free: 3.293 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.91, allocations: 0.9099 MB / 1.379 GB, free: 2.816 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.9115, allocations: 1.322 MB / 1.38 GB, free: 1.816 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/0.9145, allocations: 2.431 MB / 1.383 GB, free: 216 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.9145, allocations: 4.062 kB / 1.383 GB, free: 216 kB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005892/0.9204, allocations: 3.44 MB / 1.386 GB, free: 13.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.9204, allocations: 8 kB / 1.386 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.9204, allocations: 16 kB / 1.386 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003111/0.9235, allocations: 1.186 MB / 1.387 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008937/0.9244, allocations: 255.5 kB / 1.387 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.9416, allocations: 13.86 MB / 1.401 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.9431, allocations: 92.3 kB / 1.401 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.9432, allocations: 67.98 kB / 1.401 GB, free: 13.23 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002055/0.9453, allocations: 1.114 MB / 1.402 GB, free: 12.1 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.9456, allocations: 178.9 kB / 1.402 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.9512, allocations: 3.122 MB / 1.405 GB, free: 8.785 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.9512, allocations: 16 kB / 1.405 GB, free: 8.77 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.9512, allocations: 15.94 kB / 1.405 GB, free: 8.754 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.9512, allocations: 11.97 kB / 1.405 GB, free: 8.742 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.9613, allocations: 6.202 MB / 1.411 GB, free: 2.398 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9613, allocations: 4 kB / 1.411 GB, free: 2.395 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.9619, allocations: 151.7 kB / 1.412 GB, free: 2.246 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002804/0.9647, allocations: 1.077 MB / 1.413 GB, free: 1.164 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/0.9648, allocations: 28 kB / 1.413 GB, free: 1.137 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.9813, allocations: 13.55 MB / 1.426 GB, free: 3.164 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.9813, allocations: 7.938 kB / 1.426 GB, free: 3.156 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/0.9864, allocations: 3.116 MB / 1.429 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/0.9872, allocations: 435.9 kB / 1.429 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.9874, allocations: 28 kB / 1.429 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.9881, allocations: 83.89 kB / 1.429 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.9884, allocations: 120.7 kB / 1.43 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.9885, allocations: 40 kB / 1.43 GB, free: 15.24 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009951/0.9895, allocations: 0.7671 MB / 1.43 GB, free: 14.47 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9895, allocations: 3.938 kB / 1.43 GB, free: 14.47 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002018/0.9915, allocations: 0.6562 MB / 1.431 GB, free: 13.81 MB / 1.123 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005338/0.9969, allocations: 3.709 MB / 1.435 GB, free: 10.01 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004726/1.002, allocations: 3.005 MB / 1.438 GB, free: 6.961 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.002, allocations: 4 kB / 1.438 GB, free: 6.957 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002893/1.004, allocations: 1.881 MB / 1.439 GB, free: 5.043 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/1.007, allocations: 0.4985 MB / 1.44 GB, free: 4.559 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/1.036, allocations: 19.18 MB / 1.459 GB, free: 0.793 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.038, allocations: 2.34 MB / 1.461 GB, free: 14.42 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009407/1.039, allocations: 350.1 kB / 1.461 GB, free: 14.07 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.04, allocations: 1.007 MB / 1.462 GB, free: 13.06 MB / 1.154 GB Notification: Performance of SimCode: time 7.72e-07/1.04, allocations: 0 / 1.462 GB, free: 13.06 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09902/1.139, allocations: 52.98 MB / 1.514 GB, free: 8.668 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.28, allocations: 5.438 kB / 1.514 GB, free: 8.664 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 17.68275766700026]